0s autopkgtest [16:17:16]: starting date and time: 2024-11-13 16:17:16+0000 0s autopkgtest [16:17:16]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [16:17:16]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.z8qqtkan/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:python3-defaults,src:python3-stdlib-extensions --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- lxd -r lxd-armhf-10.145.243.247 lxd-armhf-10.145.243.247:autopkgtest/ubuntu/plucky/armhf 56s autopkgtest [16:18:12]: testbed dpkg architecture: armhf 58s autopkgtest [16:18:14]: testbed apt version: 2.9.8 58s autopkgtest [16:18:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 66s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 67s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 67s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 67s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 67s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 67s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 67s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [638 kB] 67s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 67s Fetched 1911 kB in 1s (1969 kB/s) 67s Reading package lists... 85s tee: /proc/self/fd/2: Permission denied 108s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 108s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 108s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 108s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 109s Reading package lists... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Calculating upgrade... 110s The following NEW packages will be installed: 110s python3.13-gdbm 110s The following packages will be upgraded: 110s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 110s libutempter0 python3 python3-gdbm python3-minimal 111s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 1131 kB of archives. 111s After this operation, 95.2 kB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 111s Fetched 1131 kB in 1s (2095 kB/s) 112s (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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 112s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Setting up python3-minimal (3.12.7-1) ... 112s (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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 112s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 112s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 112s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 112s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 112s Selecting previously unselected package python3.13-gdbm. 112s (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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 112s Unpacking python3.13-gdbm (3.13.0-2) ... 112s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 112s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 112s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 112s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 112s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 112s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 112s Preparing to unpack .../libutempter0_1.2.1-4_armhf.deb ... 112s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 112s Setting up libutempter0:armhf (1.2.1-4) ... 112s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 112s Setting up python3.13-gdbm (3.13.0-2) ... 112s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 112s Setting up python3 (3.12.7-1) ... 112s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 112s Setting up python3-gdbm:armhf (3.12.7-1) ... 112s Processing triggers for man-db (2.12.1-3) ... 113s Processing triggers for libc-bin (2.40-1ubuntu3) ... 113s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s autopkgtest [16:19:12]: rebooting testbed after setup commands that affected boot 186s autopkgtest [16:20:22]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 214s autopkgtest [16:20:50]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 275s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (dsc) [4656 B] 275s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [263 kB] 275s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [5554 kB] 275s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (diff) [132 kB] 275s gpgv: Signature made Tue Sep 24 13:26:08 2024 UTC 275s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 275s gpgv: Can't check signature: No public key 275s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.1-0ubuntu1.dsc: no acceptable signature found 276s autopkgtest [16:21:52]: testing package glib2.0 version 2.82.1-0ubuntu1 280s autopkgtest [16:21:56]: build not needed 284s autopkgtest [16:22:00]: test build: preparing testbed 299s Reading package lists... 299s Building dependency tree... 299s Reading state information... 300s Starting pkgProblemResolver with broken count: 0 300s Starting 2 pkgProblemResolver with broken count: 0 300s Done 300s The following additional packages will be installed: 300s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 300s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 300s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 300s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 300s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgirepository-2.0-0 300s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 300s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 300s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 300s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 300s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 300s Suggested packages: 300s cpp-doc gcc-14-locales cpp-14-doc gcc-14-doc gcc-multilib manpages-dev 300s autoconf automake libtool flex bison gdb gcc-doc gdb-arm-linux-gnueabihf 300s libc-devtools glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc 300s libgdk-pixbuf2.0-bin libxml2-utils libstdc++-14-doc 300s Recommended packages: 300s manpages manpages-dev 300s The following NEW packages will be installed: 300s autopkgtest-satdep build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 300s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 300s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 300s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 300s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgirepository-2.0-0 300s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 300s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 300s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 300s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 300s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 300s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 300s Need to get 54.8 MB/54.8 MB of archives. 300s After this operation, 161 MB of additional disk space will be used. 300s Get:1 /tmp/autopkgtest.NhOVdm/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [720 B] 301s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 301s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 301s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 301s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 301s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 301s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 301s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 301s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 302s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 302s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 302s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 302s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 302s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 302s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 302s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 302s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 302s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 303s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 303s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 303s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 303s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 303s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 303s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 303s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 303s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 303s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 303s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.1-0ubuntu1 [98.3 kB] 303s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.1-0ubuntu1 [92.2 kB] 303s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 303s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 303s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.1-0ubuntu1 [140 kB] 303s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu1 [51.0 kB] 304s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu1 [216 kB] 304s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 304s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 304s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 304s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 304s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 304s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.5-2ubuntu5 [158 kB] 304s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu1 [33.0 kB] 304s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.0-2 [48.8 kB] 304s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 304s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 304s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 304s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 304s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev armhf 2.82.1-0ubuntu1 [1782 kB] 304s Fetched 54.8 MB in 3s (16.6 MB/s) 304s Selecting previously unselected package libc-dev-bin. 304s (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 ... 59566 files and directories currently installed.) 304s Preparing to unpack .../00-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 304s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 304s Selecting previously unselected package linux-libc-dev:armhf. 304s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ... 304s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 304s Selecting previously unselected package libcrypt-dev:armhf. 304s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 304s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 304s Selecting previously unselected package rpcsvc-proto. 304s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 304s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 304s Selecting previously unselected package libc6-dev:armhf. 304s Preparing to unpack .../04-libc6-dev_2.40-1ubuntu3_armhf.deb ... 304s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 304s Selecting previously unselected package libisl23:armhf. 304s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 304s Unpacking libisl23:armhf (0.27-1) ... 305s Selecting previously unselected package libmpc3:armhf. 305s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 305s Unpacking libmpc3:armhf (1.3.1-1build2) ... 305s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 305s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package cpp-14. 305s Preparing to unpack .../08-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package cpp-arm-linux-gnueabihf. 305s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 305s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 305s Selecting previously unselected package cpp. 305s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 305s Unpacking cpp (4:14.1.0-2ubuntu1) ... 305s Selecting previously unselected package libcc1-0:armhf. 305s Preparing to unpack .../11-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package libgomp1:armhf. 305s Preparing to unpack .../12-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package libasan8:armhf. 305s Preparing to unpack .../13-libasan8_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package libubsan1:armhf. 305s Preparing to unpack .../14-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package libgcc-14-dev:armhf. 305s Preparing to unpack .../15-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 305s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package gcc-14. 305s Preparing to unpack .../17-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 305s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 305s Selecting previously unselected package gcc-arm-linux-gnueabihf. 305s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 305s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 306s Selecting previously unselected package gcc. 306s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 306s Unpacking gcc (4:14.1.0-2ubuntu1) ... 306s Selecting previously unselected package libstdc++-14-dev:armhf. 306s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 306s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 306s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 306s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 306s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 306s Selecting previously unselected package g++-14. 306s Preparing to unpack .../22-g++-14_14.2.0-8ubuntu1_armhf.deb ... 306s Unpacking g++-14 (14.2.0-8ubuntu1) ... 306s Selecting previously unselected package g++-arm-linux-gnueabihf. 306s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 306s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 306s Selecting previously unselected package g++. 306s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 306s Unpacking g++ (4:14.1.0-2ubuntu1) ... 306s Selecting previously unselected package build-essential. 306s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 306s Unpacking build-essential (12.10ubuntu1) ... 306s Selecting previously unselected package libgirepository-2.0-0:armhf. 306s Preparing to unpack .../26-libgirepository-2.0-0_2.82.1-0ubuntu1_armhf.deb ... 306s Unpacking libgirepository-2.0-0:armhf (2.82.1-0ubuntu1) ... 306s Selecting previously unselected package libglib2.0-bin. 306s Preparing to unpack .../27-libglib2.0-bin_2.82.1-0ubuntu1_armhf.deb ... 306s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 306s Selecting previously unselected package libffi-dev:armhf. 306s Preparing to unpack .../28-libffi-dev_3.4.6-1build1_armhf.deb ... 306s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 306s Selecting previously unselected package python3-packaging. 306s Preparing to unpack .../29-python3-packaging_24.1-1_all.deb ... 306s Unpacking python3-packaging (24.1-1) ... 306s Selecting previously unselected package libglib2.0-dev-bin. 306s Preparing to unpack .../30-libglib2.0-dev-bin_2.82.1-0ubuntu1_armhf.deb ... 306s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 306s Selecting previously unselected package uuid-dev:armhf. 306s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu1_armhf.deb ... 306s Unpacking uuid-dev:armhf (2.40.2-1ubuntu1) ... 306s Selecting previously unselected package libblkid-dev:armhf. 306s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu1_armhf.deb ... 306s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu1) ... 306s Selecting previously unselected package libsepol-dev:armhf. 306s Preparing to unpack .../33-libsepol-dev_3.7-1_armhf.deb ... 306s Unpacking libsepol-dev:armhf (3.7-1) ... 306s Selecting previously unselected package libpcre2-16-0:armhf. 306s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 306s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 306s Selecting previously unselected package libpcre2-32-0:armhf. 306s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 306s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 306s Selecting previously unselected package libpcre2-posix3:armhf. 306s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 306s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 306s Selecting previously unselected package libpcre2-dev:armhf. 306s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 306s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 306s Selecting previously unselected package libselinux1-dev:armhf. 307s Preparing to unpack .../38-libselinux1-dev_3.5-2ubuntu5_armhf.deb ... 307s Unpacking libselinux1-dev:armhf (3.5-2ubuntu5) ... 307s Selecting previously unselected package libmount-dev:armhf. 307s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu1_armhf.deb ... 307s Unpacking libmount-dev:armhf (2.40.2-1ubuntu1) ... 307s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 307s Preparing to unpack .../40-libsysprof-capture-4-dev_47.0-2_armhf.deb ... 307s Unpacking libsysprof-capture-4-dev:armhf (47.0-2) ... 307s Selecting previously unselected package libpkgconf3:armhf. 307s Preparing to unpack .../41-libpkgconf3_1.8.1-4_armhf.deb ... 307s Unpacking libpkgconf3:armhf (1.8.1-4) ... 307s Selecting previously unselected package pkgconf-bin. 307s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_armhf.deb ... 307s Unpacking pkgconf-bin (1.8.1-4) ... 307s Selecting previously unselected package pkgconf:armhf. 307s Preparing to unpack .../43-pkgconf_1.8.1-4_armhf.deb ... 307s Unpacking pkgconf:armhf (1.8.1-4) ... 307s Selecting previously unselected package zlib1g-dev:armhf. 307s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 307s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 307s Selecting previously unselected package libglib2.0-dev:armhf. 307s Preparing to unpack .../45-libglib2.0-dev_2.82.1-0ubuntu1_armhf.deb ... 307s Unpacking libglib2.0-dev:armhf (2.82.1-0ubuntu1) ... 307s Selecting previously unselected package autopkgtest-satdep. 307s Preparing to unpack .../46-1-autopkgtest-satdep.deb ... 307s Unpacking autopkgtest-satdep (0) ... 307s Setting up libgirepository-2.0-0:armhf (2.82.1-0ubuntu1) ... 307s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 307s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 307s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 307s Setting up libffi-dev:armhf (3.4.6-1build1) ... 307s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 307s Setting up libsysprof-capture-4-dev:armhf (47.0-2) ... 307s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 307s Setting up python3-packaging (24.1-1) ... 307s Setting up libpkgconf3:armhf (1.8.1-4) ... 307s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 307s Setting up libmpc3:armhf (1.3.1-1build2) ... 307s Setting up libsepol-dev:armhf (3.7-1) ... 307s Setting up pkgconf-bin (1.8.1-4) ... 307s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 307s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 307s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 307s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 307s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 307s Setting up libisl23:armhf (0.27-1) ... 307s Setting up libc-dev-bin (2.40-1ubuntu3) ... 307s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 307s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 307s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 307s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 307s Setting up pkgconf:armhf (1.8.1-4) ... 307s Setting up cpp-14 (14.2.0-8ubuntu1) ... 307s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 307s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 307s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 307s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 307s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 307s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 307s Setting up libselinux1-dev:armhf (3.5-2ubuntu5) ... 307s Setting up gcc-14 (14.2.0-8ubuntu1) ... 307s Setting up uuid-dev:armhf (2.40.2-1ubuntu1) ... 307s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 307s Setting up cpp (4:14.1.0-2ubuntu1) ... 307s Setting up g++-14 (14.2.0-8ubuntu1) ... 307s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 307s Setting up libblkid-dev:armhf (2.40.2-1ubuntu1) ... 307s Setting up gcc (4:14.1.0-2ubuntu1) ... 307s Setting up g++ (4:14.1.0-2ubuntu1) ... 307s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 307s Setting up build-essential (12.10ubuntu1) ... 307s Setting up libmount-dev:armhf (2.40.2-1ubuntu1) ... 307s Setting up libglib2.0-dev:armhf (2.82.1-0ubuntu1) ... 307s Processing triggers for libc-bin (2.40-1ubuntu3) ... 307s Processing triggers for man-db (2.12.1-3) ... 308s Processing triggers for libglib2.0-0t64:armhf (2.82.1-0ubuntu1) ... 308s No schema files found: doing nothing. 308s Processing triggers for install-info (7.1.1-1) ... 308s Setting up autopkgtest-satdep (0) ... 320s (Reading database ... 63271 files and directories currently installed.) 320s Removing autopkgtest-satdep (0) ... 326s autopkgtest [16:22:42]: test build: [----------------------- 328s + mode=dynamic 328s + getopt -o --long static -n debian/tests/build -- 328s + getopt_temp= -- 328s + eval set -- -- 328s + set -- -- 328s + true 328s + shift 328s + break 328s + mktemp -d 328s + WORKDIR=/tmp/tmp.dVYUVfPtWE 328s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 328s + cd /tmp/tmp.dVYUVfPtWE 328s + [ -n ] 328s + CROSS_COMPILE= 328s + cat 328s + cat 328s + cat 328s + cat 328s + cat 328s + cat 328s + cflags= 328s + pcflags= 328s + packages=glib-2.0 328s + pkg-config --cflags --libs glib-2.0 328s + 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 328s + echo build (glib, dynamic): OK 328s + [ -x glib-dynamic ] 328s + foo=bar ./glib-dynamic 328s + echo run (glib, dynamic): OK 328s + cflags= 328s + pcflags= 328s + packages=gobject-2.0 328s + pkg-config --cflags --libs gobject-2.0 328s build (glib, dynamic): OK 328s + 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 328s run (glib, dynamic): OK 328s build (gobject, dynamic): OK 328s + echo build (gobject, dynamic): OK 328s + [ -x gobject-dynamic ] 328s + foo=bar ./gobject-dynamic 328s run (gobject, dynamic): OK 328s + echo run (gobject, dynamic): OK 328s + cflags= 328s + pcflags= 328s + packages=gio-2.0 328s + pkg-config --cflags --libs gio-2.0 328s + 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 329s + echo build (gio, dynamic): OK 329s + [ -x gio-dynamic ] 329s + foo=bar ./gio-dynamic 329s build (gio, dynamic): OK 329s + echo run (gio, dynamic): OK 329s + cflags= 329s + pcflags= 329s + packages=gio-unix-2.0 329s + pkg-config --cflags --libs gio-unix-2.0 329s run (gio, dynamic): OK 329s + 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 329s build (gio-unix, dynamic): OK 329s + echo build (gio-unix, dynamic): OK 329s + [ -x gio-unix-dynamic ] 329s + foo=bar ./gio-unix-dynamic 329s run (gio-unix, dynamic): OK 329s + echo run (gio-unix, dynamic): OK 329s + cflags= 329s + pcflags= 329s + packages=gmodule-2.0 329s + pkg-config --cflags --libs gmodule-2.0 329s + 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 329s build (gmodule, dynamic): OK 329s run (gmodule, dynamic): OK 329s + echo build (gmodule, dynamic): OK 329s + [ -x gmodule-dynamic ] 329s + foo=bar ./gmodule-dynamic 329s + echo run (gmodule, dynamic): OK 329s + cflags= 329s + pcflags= 329s + packages=gthread-2.0 329s + pkg-config --cflags --libs gthread-2.0 329s + 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 329s + echo build (gthread, dynamic): OK 329s + [ -x gthread-dynamic ] 329s + foo=bar ./gthread-dynamic 329s build (gthread, dynamic): OK 329s + echo run (gthread, dynamic): OK 329s + rm -rf /tmp/tmp.dVYUVfPtWE 329s run (gthread, dynamic): OK 329s autopkgtest [16:22:45]: test build: -----------------------] 333s autopkgtest [16:22:49]: test build: - - - - - - - - - - results - - - - - - - - - - 333s build PASS (superficial) 338s autopkgtest [16:22:54]: test build-static: preparing testbed 348s Reading package lists... 348s Building dependency tree... 348s Reading state information... 349s Starting pkgProblemResolver with broken count: 0 349s Starting 2 pkgProblemResolver with broken count: 0 349s Done 349s The following NEW packages will be installed: 349s autopkgtest-satdep 349s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 349s Need to get 0 B/716 B of archives. 349s After this operation, 0 B of additional disk space will be used. 349s Get:1 /tmp/autopkgtest.NhOVdm/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [716 B] 350s Selecting previously unselected package autopkgtest-satdep. 350s (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 ... 63271 files and directories currently installed.) 350s Preparing to unpack .../2-autopkgtest-satdep.deb ... 350s Unpacking autopkgtest-satdep (0) ... 350s Setting up autopkgtest-satdep (0) ... 359s (Reading database ... 63271 files and directories currently installed.) 359s Removing autopkgtest-satdep (0) ... 366s autopkgtest [16:23:22]: test build-static: [----------------------- 368s + mode=dynamic 368s + getopt -o --long static -n debian/tests/build -- --static 368s + getopt_temp= --static -- 368s + eval set -- --static -- 368s + set -- --static -- 368s + true 368s + mode=static 368s + shift 368s + continue 368s + true 368s + shift 368s + break 368s + mktemp -d 368s + WORKDIR=/tmp/tmp.vHdHOOpaT7 368s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 368s + cd /tmp/tmp.vHdHOOpaT7 368s + [ -n ] 368s + CROSS_COMPILE= 368s + cat 368s + cat 368s + cat 368s + cat 368s + cat 368s + cat 368s + cflags= 368s + pcflags= 368s + packages=glib-2.0 368s + cflags=-static 368s + pcflags=--static 368s + pkg-config --static --cflags --libs glib-2.0 368s + 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 368s /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': 368s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 368s /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 368s /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 368s build (glib, static): OK 368s run (glib, static): OK 368s + echo build (glib, static): OK 368s + [ -x glib-static ] 368s + foo=bar ./glib-static 368s + echo run (glib, static): OK 368s + cflags= 368s + pcflags= 368s + packages=gobject-2.0 368s + cflags=-static 368s + pcflags=--static 368s + pkg-config --static --cflags --libs gobject-2.0 368s + 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 368s /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': 368s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 368s /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 368s /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 368s build (gobject, static): OK 368s run (gobject, static): OK 368s + echo build (gobject, static): OK 368s + [ -x gobject-static ] 368s + foo=bar ./gobject-static 368s + echo run (gobject, static): OK 368s + cflags= 368s + pcflags= 368s + packages=gio-2.0 368s + cflags=-static 368s + pcflags=--static 368s + continue 368s + cflags= 368s + pcflags= 368s + packages=gio-unix-2.0 368s + cflags=-static 368s + pcflags=--static 368s + continue 368s + cflags= 368s + pcflags= 368s + packages=gmodule-2.0 368s + cflags=-static 368s + pcflags=--static 368s + pkg-config --static --cflags --libs gmodule-2.0 368s + 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 368s /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': 368s (.text+0x412): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 368s /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': 368s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 368s /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 368s /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 368s build (gmodule, static): OK 368s + echo build (gmodule, static): OK 368s + [ -x gmodule-static ] 368s + foo=bar ./gmodule-static 368s + echo run (gmodule, static): OK 368s + cflags= 368s + pcflags= 368s + packages=gthread-2.0 368s + cflags=-static 368s + pcflags=--static 368s + pkg-config --static --cflags --libs gthread-2.0 368s + 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 368s run (gmodule, static): OK 368s /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': 368s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 368s /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 368s /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 368s build (gthread, static): OK 368s + echo build (gthread, static): OK 368s + [ -x gthread-static ] 368s + foo=bar ./gthread-static 368s + echo run (gthread, static): OK 368s + rm -rf /tmp/tmp.vHdHOOpaT7 368s run (gthread, static): OK 369s autopkgtest [16:23:25]: test build-static: -----------------------] 373s autopkgtest [16:23:29]: test build-static: - - - - - - - - - - results - - - - - - - - - - 373s build-static PASS (superficial) 377s autopkgtest [16:23:33]: test installed-tests: preparing testbed 431s autopkgtest [16:24:27]: testbed dpkg architecture: armhf 433s autopkgtest [16:24:29]: testbed apt version: 2.9.8 433s autopkgtest [16:24:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 441s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 442s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 442s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 442s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 442s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 442s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 442s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [638 kB] 442s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 442s Fetched 1911 kB in 1s (2161 kB/s) 442s Reading package lists... 458s tee: /proc/self/fd/2: Permission denied 479s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 480s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 480s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 480s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 481s Reading package lists... 481s Reading package lists... 481s Building dependency tree... 481s Reading state information... 482s Calculating upgrade... 482s The following NEW packages will be installed: 482s python3.13-gdbm 482s The following packages will be upgraded: 482s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 482s libutempter0 python3 python3-gdbm python3-minimal 482s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 482s Need to get 1131 kB of archives. 482s After this operation, 95.2 kB of additional disk space will be used. 482s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 482s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 482s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 482s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 483s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 483s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 483s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 483s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 483s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 483s Fetched 1131 kB in 1s (1967 kB/s) 483s (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 ... 59559 files and directories currently installed.) 483s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 483s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 483s Setting up python3-minimal (3.12.7-1) ... 483s (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 ... 59559 files and directories currently installed.) 483s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 483s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 483s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 483s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 483s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 483s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 484s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 484s Selecting previously unselected package python3.13-gdbm. 484s (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 ... 59559 files and directories currently installed.) 484s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 484s Unpacking python3.13-gdbm (3.13.0-2) ... 484s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 484s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 484s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 484s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 484s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 484s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 484s Preparing to unpack .../libutempter0_1.2.1-4_armhf.deb ... 484s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 484s Setting up libutempter0:armhf (1.2.1-4) ... 484s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 484s Setting up python3.13-gdbm (3.13.0-2) ... 484s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 484s Setting up python3 (3.12.7-1) ... 484s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 484s Setting up python3-gdbm:armhf (3.12.7-1) ... 484s Processing triggers for man-db (2.12.1-3) ... 485s Processing triggers for libc-bin (2.40-1ubuntu3) ... 485s Reading package lists... 485s Building dependency tree... 485s Reading state information... 486s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 488s autopkgtest [16:25:24]: rebooting testbed after setup commands that affected boot 596s Reading package lists... 596s Building dependency tree... 596s Reading state information... 596s Starting pkgProblemResolver with broken count: 0 596s Starting 2 pkgProblemResolver with broken count: 0 596s Done 597s The following additional packages will be installed: 597s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 597s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgirepository-2.0-0 libgl1 597s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 597s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm19 597s libpixman-1-0 libsm6 libunwind8 libvulkan1 libwayland-server0 libx11-xcb1 597s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 597s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 597s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 597s libxxf86vm1 mesa-libgallium python3-dbusmock python3-packaging x11-common 597s x11-xkb-utils xserver-common xvfb 597s Suggested packages: 597s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 597s Recommended packages: 597s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 597s xfonts-base 597s The following NEW packages will be installed: 597s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 597s libdrm-amdgpu1 libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 597s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 597s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 597s libllvm19 libpixman-1-0 libsm6 libunwind8 libvulkan1 libwayland-server0 597s libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 597s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 597s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 597s libxxf86vm1 mesa-libgallium python3-dbusmock python3-packaging x11-common 597s x11-xkb-utils xserver-common xvfb 597s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 597s Need to get 41.4 MB/41.4 MB of archives. 597s After this operation, 162 MB of additional disk space will be used. 597s Get:1 /tmp/autopkgtest.NhOVdm/3-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 597s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-x11 armhf 1.14.10-4ubuntu5 [22.8 kB] 598s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf desktop-file-utils armhf 0.27-2build1 [48.0 kB] 598s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB] 598s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-amdgpu1 armhf 2.4.123-1 [18.9 kB] 598s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB] 598s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 598s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 598s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.0-1 [29.4 kB] 598s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 598s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.2.3-1ubuntu1 [49.4 kB] 598s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.2-1ubuntu1 [27.8 MB] 599s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B] 599s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B] 599s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 599s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 599s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 599s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 599s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 599s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.2.3-1ubuntu1 [7895 kB] 599s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.2.3-1ubuntu1 [28.2 kB] 599s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.1-0ubuntu1 [98.3 kB] 599s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libvulkan1 armhf 1.3.296.0-1 [114 kB] 599s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1-mesa-dri armhf 24.2.3-1ubuntu1 [30.8 kB] 599s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.1-0ubuntu1 [92.2 kB] 599s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 599s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.1-0ubuntu1 [140 kB] 599s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dbusmock all 0.32.2-1 [90.6 kB] 599s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf libglib2.0-tests armhf 2.82.1-0ubuntu1 [2283 kB] 599s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB] 599s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 599s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxfixes3 armhf 1:6.0.0-2build1 [9038 B] 599s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 599s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libglx-mesa0 armhf 24.2.3-1ubuntu1 [131 kB] 599s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 599s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 599s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 599s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 599s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libunwind8 armhf 1.6.2-3.1 [47.6 kB] 599s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 599s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 599s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 599s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 599s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 599s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 599s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 599s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 599s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf x11-xkb-utils armhf 7.7+9 [159 kB] 599s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf xserver-common all 2:21.1.14-1ubuntu1 [33.7 kB] 599s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 599s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB] 599s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1 armhf 1.7.0-1build1 [105 kB] 599s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf xvfb armhf 2:21.1.14-1ubuntu1 [730 kB] 600s Fetched 41.4 MB in 2s (21.0 MB/s) 600s Selecting previously unselected package dbus-x11. 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 ... 59566 files and directories currently installed.) 600s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_armhf.deb ... 600s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 600s Selecting previously unselected package desktop-file-utils. 600s Preparing to unpack .../01-desktop-file-utils_0.27-2build1_armhf.deb ... 600s Unpacking desktop-file-utils (0.27-2build1) ... 600s Selecting previously unselected package gnome-desktop-testing. 600s Preparing to unpack .../02-gnome-desktop-testing_2021.1-4_armhf.deb ... 600s Unpacking gnome-desktop-testing (2021.1-4) ... 600s Selecting previously unselected package libdrm-amdgpu1:armhf. 600s Preparing to unpack .../03-libdrm-amdgpu1_2.4.123-1_armhf.deb ... 600s Unpacking libdrm-amdgpu1:armhf (2.4.123-1) ... 600s Selecting previously unselected package libdrm-radeon1:armhf. 600s Preparing to unpack .../04-libdrm-radeon1_2.4.123-1_armhf.deb ... 600s Unpacking libdrm-radeon1:armhf (2.4.123-1) ... 600s Selecting previously unselected package libfontenc1:armhf. 600s Preparing to unpack .../05-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 600s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 600s Selecting previously unselected package libfreetype6:armhf. 600s Preparing to unpack .../06-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 600s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 600s Selecting previously unselected package libwayland-server0:armhf. 600s Preparing to unpack .../07-libwayland-server0_1.23.0-1_armhf.deb ... 600s Unpacking libwayland-server0:armhf (1.23.0-1) ... 600s Selecting previously unselected package libxcb-randr0:armhf. 600s Preparing to unpack .../08-libxcb-randr0_1.17.0-2_armhf.deb ... 600s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 600s Selecting previously unselected package libglapi-mesa:armhf. 600s Preparing to unpack .../09-libglapi-mesa_24.2.3-1ubuntu1_armhf.deb ... 600s Unpacking libglapi-mesa:armhf (24.2.3-1ubuntu1) ... 600s Selecting previously unselected package libllvm19:armhf. 600s Preparing to unpack .../10-libllvm19_1%3a19.1.2-1ubuntu1_armhf.deb ... 600s Unpacking libllvm19:armhf (1:19.1.2-1ubuntu1) ... 601s Selecting previously unselected package libx11-xcb1:armhf. 601s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_armhf.deb ... 601s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ... 601s Selecting previously unselected package libxcb-dri2-0:armhf. 601s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_armhf.deb ... 601s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ... 601s Selecting previously unselected package libxcb-dri3-0:armhf. 601s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_armhf.deb ... 601s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 601s Selecting previously unselected package libxcb-present0:armhf. 601s Preparing to unpack .../14-libxcb-present0_1.17.0-2_armhf.deb ... 601s Unpacking libxcb-present0:armhf (1.17.0-2) ... 601s Selecting previously unselected package libxcb-sync1:armhf. 601s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_armhf.deb ... 601s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 601s Selecting previously unselected package libxcb-xfixes0:armhf. 601s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_armhf.deb ... 601s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 601s Selecting previously unselected package libxshmfence1:armhf. 601s Preparing to unpack .../17-libxshmfence1_1.3-1build5_armhf.deb ... 601s Unpacking libxshmfence1:armhf (1.3-1build5) ... 601s Selecting previously unselected package mesa-libgallium:armhf. 601s Preparing to unpack .../18-mesa-libgallium_24.2.3-1ubuntu1_armhf.deb ... 601s Unpacking mesa-libgallium:armhf (24.2.3-1ubuntu1) ... 601s Selecting previously unselected package libgbm1:armhf. 601s Preparing to unpack .../19-libgbm1_24.2.3-1ubuntu1_armhf.deb ... 601s Unpacking libgbm1:armhf (24.2.3-1ubuntu1) ... 601s Selecting previously unselected package libgirepository-2.0-0:armhf. 601s Preparing to unpack .../20-libgirepository-2.0-0_2.82.1-0ubuntu1_armhf.deb ... 601s Unpacking libgirepository-2.0-0:armhf (2.82.1-0ubuntu1) ... 601s Selecting previously unselected package libvulkan1:armhf. 601s Preparing to unpack .../21-libvulkan1_1.3.296.0-1_armhf.deb ... 601s Unpacking libvulkan1:armhf (1.3.296.0-1) ... 601s Selecting previously unselected package libgl1-mesa-dri:armhf. 601s Preparing to unpack .../22-libgl1-mesa-dri_24.2.3-1ubuntu1_armhf.deb ... 601s Unpacking libgl1-mesa-dri:armhf (24.2.3-1ubuntu1) ... 601s Selecting previously unselected package libglib2.0-bin. 601s Preparing to unpack .../23-libglib2.0-bin_2.82.1-0ubuntu1_armhf.deb ... 601s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 601s Selecting previously unselected package python3-packaging. 601s Preparing to unpack .../24-python3-packaging_24.1-1_all.deb ... 601s Unpacking python3-packaging (24.1-1) ... 601s Selecting previously unselected package libglib2.0-dev-bin. 601s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.1-0ubuntu1_armhf.deb ... 601s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 601s Selecting previously unselected package python3-dbusmock. 601s Preparing to unpack .../26-python3-dbusmock_0.32.2-1_all.deb ... 601s Unpacking python3-dbusmock (0.32.2-1) ... 601s Selecting previously unselected package libglib2.0-tests. 601s Preparing to unpack .../27-libglib2.0-tests_2.82.1-0ubuntu1_armhf.deb ... 601s Unpacking libglib2.0-tests (2.82.1-0ubuntu1) ... 602s Selecting previously unselected package libxcb-glx0:armhf. 602s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_armhf.deb ... 602s Unpacking libxcb-glx0:armhf (1.17.0-2) ... 602s Selecting previously unselected package libxcb-shm0:armhf. 602s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_armhf.deb ... 602s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 602s Selecting previously unselected package libxfixes3:armhf. 602s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2build1_armhf.deb ... 602s Unpacking libxfixes3:armhf (1:6.0.0-2build1) ... 602s Selecting previously unselected package libxxf86vm1:armhf. 602s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 602s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 602s Selecting previously unselected package libglx-mesa0:armhf. 602s Preparing to unpack .../32-libglx-mesa0_24.2.3-1ubuntu1_armhf.deb ... 602s Unpacking libglx-mesa0:armhf (24.2.3-1ubuntu1) ... 602s Selecting previously unselected package x11-common. 602s Preparing to unpack .../33-x11-common_1%3a7.7+23ubuntu3_all.deb ... 602s Unpacking x11-common (1:7.7+23ubuntu3) ... 602s Selecting previously unselected package libice6:armhf. 602s Preparing to unpack .../34-libice6_2%3a1.1.1-1_armhf.deb ... 602s Unpacking libice6:armhf (2:1.1.1-1) ... 602s Selecting previously unselected package libpixman-1-0:armhf. 602s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_armhf.deb ... 602s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 602s Selecting previously unselected package libsm6:armhf. 602s Preparing to unpack .../36-libsm6_2%3a1.2.4-1_armhf.deb ... 602s Unpacking libsm6:armhf (2:1.2.4-1) ... 602s Selecting previously unselected package libunwind8:armhf. 602s Preparing to unpack .../37-libunwind8_1.6.2-3.1_armhf.deb ... 602s Unpacking libunwind8:armhf (1.6.2-3.1) ... 602s Selecting previously unselected package libxt6t64:armhf. 602s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 602s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 602s Selecting previously unselected package libxmu6:armhf. 602s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 602s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 602s Selecting previously unselected package libxpm4:armhf. 602s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 602s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 602s Selecting previously unselected package libxaw7:armhf. 602s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_armhf.deb ... 602s Unpacking libxaw7:armhf (2:1.0.16-1) ... 602s Selecting previously unselected package libxfont2:armhf. 602s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 602s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 602s Selecting previously unselected package libxkbfile1:armhf. 602s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 602s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 602s Selecting previously unselected package libxrender1:armhf. 602s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 602s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 602s Selecting previously unselected package libxrandr2:armhf. 602s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_armhf.deb ... 602s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 602s Selecting previously unselected package x11-xkb-utils. 602s Preparing to unpack .../46-x11-xkb-utils_7.7+9_armhf.deb ... 602s Unpacking x11-xkb-utils (7.7+9) ... 602s Selecting previously unselected package xserver-common. 602s Preparing to unpack .../47-xserver-common_2%3a21.1.14-1ubuntu1_all.deb ... 602s Unpacking xserver-common (2:21.1.14-1ubuntu1) ... 602s Selecting previously unselected package libglvnd0:armhf. 602s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_armhf.deb ... 602s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 602s Selecting previously unselected package libglx0:armhf. 602s Preparing to unpack .../49-libglx0_1.7.0-1build1_armhf.deb ... 602s Unpacking libglx0:armhf (1.7.0-1build1) ... 602s Selecting previously unselected package libgl1:armhf. 602s Preparing to unpack .../50-libgl1_1.7.0-1build1_armhf.deb ... 602s Unpacking libgl1:armhf (1.7.0-1build1) ... 602s Selecting previously unselected package xvfb. 602s Preparing to unpack .../51-xvfb_2%3a21.1.14-1ubuntu1_armhf.deb ... 602s Unpacking xvfb (2:21.1.14-1ubuntu1) ... 602s Selecting previously unselected package autopkgtest-satdep. 602s Preparing to unpack .../52-3-autopkgtest-satdep.deb ... 602s Unpacking autopkgtest-satdep (0) ... 602s Setting up gnome-desktop-testing (2021.1-4) ... 602s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 602s Setting up libpixman-1-0:armhf (0.44.0-3) ... 602s Setting up libllvm19:armhf (1:19.1.2-1ubuntu1) ... 602s Setting up libwayland-server0:armhf (1.23.0-1) ... 602s Setting up libx11-xcb1:armhf (2:1.8.10-2) ... 602s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 602s Setting up desktop-file-utils (0.27-2build1) ... 602s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 602s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 602s Setting up libgirepository-2.0-0:armhf (2.82.1-0ubuntu1) ... 602s Setting up libdrm-radeon1:armhf (2.4.123-1) ... 602s Setting up libglvnd0:armhf (1.7.0-1build1) ... 602s Setting up libxcb-glx0:armhf (1.17.0-2) ... 602s Setting up x11-common (1:7.7+23ubuntu3) ... 603s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 603s Setting up libxcb-shm0:armhf (1.17.0-2) ... 603s Setting up python3-dbusmock (0.32.2-1) ... 603s Setting up libunwind8:armhf (1.6.2-3.1) ... 603s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 603s Setting up libxcb-present0:armhf (1.17.0-2) ... 603s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 603s Setting up python3-packaging (24.1-1) ... 603s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 603s Setting up libxfixes3:armhf (1:6.0.0-2build1) ... 603s Setting up libxcb-sync1:armhf (1.17.0-2) ... 603s Setting up libxrandr2:armhf (2:1.5.4-1) ... 603s Setting up libglapi-mesa:armhf (24.2.3-1ubuntu1) ... 603s Setting up libvulkan1:armhf (1.3.296.0-1) ... 603s Setting up libxcb-dri2-0:armhf (1.17.0-2) ... 603s Setting up libxshmfence1:armhf (1.3-1build5) ... 603s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 603s Setting up libxcb-randr0:armhf (1.17.0-2) ... 603s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 603s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 603s Setting up libdrm-amdgpu1:armhf (2.4.123-1) ... 603s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 603s Setting up libice6:armhf (2:1.1.1-1) ... 603s Setting up mesa-libgallium:armhf (24.2.3-1ubuntu1) ... 603s Setting up libgbm1:armhf (24.2.3-1ubuntu1) ... 603s Setting up libgl1-mesa-dri:armhf (24.2.3-1ubuntu1) ... 603s Setting up libglib2.0-tests (2.82.1-0ubuntu1) ... 603s Setting up libsm6:armhf (2:1.2.4-1) ... 603s Setting up libglx-mesa0:armhf (24.2.3-1ubuntu1) ... 603s Setting up libglx0:armhf (1.7.0-1build1) ... 603s Setting up libgl1:armhf (1.7.0-1build1) ... 603s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 603s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 603s Setting up libxaw7:armhf (2:1.0.16-1) ... 603s Setting up x11-xkb-utils (7.7+9) ... 603s Setting up xserver-common (2:21.1.14-1ubuntu1) ... 603s Setting up xvfb (2:21.1.14-1ubuntu1) ... 603s Setting up autopkgtest-satdep (0) ... 603s Processing triggers for man-db (2.12.1-3) ... 604s Processing triggers for libc-bin (2.40-1ubuntu3) ... 620s (Reading database ... 61086 files and directories currently installed.) 620s Removing autopkgtest-satdep (0) ... 634s autopkgtest [16:27:50]: test installed-tests: [----------------------- 636s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 636s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 636s group entry: ubuntu:x:1000: 636s Environment: 636s ADTTMP=/tmp/autopkgtest.NhOVdm/autopkgtest_tmp 636s ADT_ARTIFACTS=/tmp/autopkgtest.NhOVdm/installed-tests-artifacts 636s ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1 636s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.NhOVdm/installed-tests-artifacts 636s AUTOPKGTEST_TESTBED_ARCH=armhf 636s AUTOPKGTEST_TEST_ARCH=armhf 636s AUTOPKGTEST_TMP=/tmp/autopkgtest.NhOVdm/autopkgtest_tmp 636s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 636s DEBIAN_FRONTEND=noninteractive 636s DEB_BUILD_OPTIONS=parallel=8 636s GIO_USE_VFS=local 636s GIO_USE_VOLUME_MONITOR=unix 636s HOME=/home/ubuntu 636s LANG=C.UTF-8 636s LOGNAME=ubuntu 636s MAIL=/var/mail/ubuntu 636s OLDPWD=/root 636s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 636s PWD=/tmp/autopkgtest.NhOVdm/build.S62/src 636s SHELL=/bin/bash 636s SHLVL=1 636s USER=ubuntu 636s XDG_RUNTIME_DIR=/tmp/autopkgtest.NhOVdm/autopkgtest_tmp 636s XDG_SESSION_CLASS=background 636s XDG_SESSION_ID=c1 636s XDG_SESSION_TYPE=unspecified 636s http_proxy=http://squid.internal:3128 636s https_proxy=http://squid.internal:3128 636s 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 636s run-with-locales: de_DE=ISO-8859-1... 636s Character set: ISO-8859-1 636s Source file: de_DE 636s Output: /tmp/tmp.ATem1luFk8/de_DE 637s run-with-locales: de_DE.utf8... 637s Character set: UTF-8 637s Source file: de_DE 637s Output: /tmp/tmp.ATem1luFk8/de_DE.utf8 638s run-with-locales: de_DE@euro.utf8... 638s Character set: UTF-8 638s Source file: de_DE@euro 638s Output: /tmp/tmp.ATem1luFk8/de_DE@euro.utf8 640s run-with-locales: el_GR.utf8... 640s Character set: UTF-8 640s Source file: el_GR 640s Output: /tmp/tmp.ATem1luFk8/el_GR.utf8 642s run-with-locales: en_GB=ISO-8859-1... 642s Character set: ISO-8859-1 642s Source file: en_GB 642s Output: /tmp/tmp.ATem1luFk8/en_GB 642s run-with-locales: en_GB.utf8... 642s Character set: UTF-8 642s Source file: en_GB 642s Output: /tmp/tmp.ATem1luFk8/en_GB.utf8 644s run-with-locales: en_US=ISO-8859-1... 644s Character set: ISO-8859-1 644s Source file: en_US 644s Output: /tmp/tmp.ATem1luFk8/en_US 644s run-with-locales: en_US.utf8... 644s Character set: UTF-8 644s Source file: en_US 644s Output: /tmp/tmp.ATem1luFk8/en_US.utf8 646s run-with-locales: es_ES.utf8... 646s Character set: UTF-8 646s Source file: es_ES 646s Output: /tmp/tmp.ATem1luFk8/es_ES.utf8 648s run-with-locales: fa_IR=UTF-8... 648s Character set: UTF-8 648s Source file: fa_IR 648s Output: /tmp/tmp.ATem1luFk8/fa_IR 650s run-with-locales: fa_IR.utf8... 650s Character set: UTF-8 650s Source file: fa_IR 650s Output: /tmp/tmp.ATem1luFk8/fa_IR.utf8 651s run-with-locales: fr_FR.utf8... 651s Character set: UTF-8 651s Source file: fr_FR 651s Output: /tmp/tmp.ATem1luFk8/fr_FR.utf8 653s run-with-locales: hr_HR.utf8... 653s Character set: UTF-8 653s Source file: hr_HR 653s Output: /tmp/tmp.ATem1luFk8/hr_HR.utf8 656s run-with-locales: ja_JP.utf8... 656s Character set: UTF-8 656s Source file: ja_JP 656s Output: /tmp/tmp.ATem1luFk8/ja_JP.utf8 657s run-with-locales: ja_JP.EUC-JP... 657s Character set: EUC-JP 657s Source file: ja_JP 657s Output: /tmp/tmp.ATem1luFk8/ja_JP.eucjp 658s run-with-locales: lt_LT.utf8... 658s Character set: UTF-8 658s Source file: lt_LT 658s Output: /tmp/tmp.ATem1luFk8/lt_LT.utf8 659s run-with-locales: pl_PL=ISO-8859-2... 659s Character set: ISO-8859-2 659s Source file: pl_PL 659s Output: /tmp/tmp.ATem1luFk8/pl_PL 660s run-with-locales: pl_PL.ISO-8859-2... 660s Character set: ISO-8859-2 660s Source file: pl_PL 660s Output: /tmp/tmp.ATem1luFk8/pl_PL.iso88592 661s run-with-locales: pl_PL.utf8... 661s Character set: UTF-8 661s Source file: pl_PL 661s Output: /tmp/tmp.ATem1luFk8/pl_PL.utf8 662s run-with-locales: ru_RU=ISO-8859-5... 662s Character set: ISO-8859-5 662s Source file: ru_RU 662s Output: /tmp/tmp.ATem1luFk8/ru_RU 663s run-with-locales: ru_RU.utf8... 663s Character set: UTF-8 663s Source file: ru_RU 663s Output: /tmp/tmp.ATem1luFk8/ru_RU.utf8 667s run-with-locales: sr_RS=UTF-8... 667s Character set: UTF-8 667s Source file: sr_RS 667s Output: /tmp/tmp.ATem1luFk8/sr_RS 669s run-with-locales: sr_RS@latin=UTF-8... 669s Character set: UTF-8 669s Source file: sr_RS@latin 669s Output: /tmp/tmp.ATem1luFk8/sr_RS@latin 671s run-with-locales: sv_SE=ISO-8859-1... 671s Character set: ISO-8859-1 671s Source file: sv_SE 671s Output: /tmp/tmp.ATem1luFk8/sv_SE 672s run-with-locales: sv_SE.utf8... 672s Character set: UTF-8 672s Source file: sv_SE 672s Output: /tmp/tmp.ATem1luFk8/sv_SE.utf8 673s run-with-locales: tr_TR=ISO-8859-9... 673s Character set: ISO-8859-9 673s Source file: tr_TR 673s Output: /tmp/tmp.ATem1luFk8/tr_TR 674s run-with-locales: tr_TR.utf8... 674s Character set: UTF-8 674s Source file: tr_TR 674s Output: /tmp/tmp.ATem1luFk8/tr_TR.utf8 678s run-with-locales: tt_RU=UTF-8... 678s Character set: UTF-8 678s Source file: tt_RU 678s Output: /tmp/tmp.ATem1luFk8/tt_RU 680s run-with-locales: tt_RU.utf8... 680s Character set: UTF-8 680s Source file: tt_RU 680s Output: /tmp/tmp.ATem1luFk8/tt_RU.utf8 681s run-with-locales: tt_RU@iqtelif=UTF-8... 681s Character set: UTF-8 681s Source file: tt_RU@iqtelif 681s Output: /tmp/tmp.ATem1luFk8/tt_RU@iqtelif 683s /tmp/tmp.ATem1luFk8 683s /tmp/tmp.ATem1luFk8/de_DE 683s /tmp/tmp.ATem1luFk8/de_DE/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/de_DE/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/de_DE/LC_TIME 683s /tmp/tmp.ATem1luFk8/de_DE/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/de_DE/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/de_DE/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE/LC_PAPER 683s /tmp/tmp.ATem1luFk8/de_DE/LC_NAME 683s /tmp/tmp.ATem1luFk8/de_DE/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/de_DE/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/de_DE/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/de_DE/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/de_DE.utf8 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/de_DE.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/de_DE@euro.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/el_GR.utf8 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/el_GR.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/en_GB 683s /tmp/tmp.ATem1luFk8/en_GB/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/en_GB/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/en_GB/LC_TIME 683s /tmp/tmp.ATem1luFk8/en_GB/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/en_GB/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/en_GB/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_GB/LC_PAPER 683s /tmp/tmp.ATem1luFk8/en_GB/LC_NAME 683s /tmp/tmp.ATem1luFk8/en_GB/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/en_GB/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/en_GB/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/en_GB/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/en_GB.utf8 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/en_GB.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/en_US 683s /tmp/tmp.ATem1luFk8/en_US/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/en_US/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/en_US/LC_TIME 683s /tmp/tmp.ATem1luFk8/en_US/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/en_US/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/en_US/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_US/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_US/LC_PAPER 683s /tmp/tmp.ATem1luFk8/en_US/LC_NAME 683s /tmp/tmp.ATem1luFk8/en_US/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/en_US/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/en_US/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/en_US/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/en_US.utf8 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/en_US.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/es_ES.utf8 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/es_ES.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/fa_IR 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_TIME 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_PAPER 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_NAME 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/fa_IR/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/fa_IR.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/fr_FR.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/hr_HR.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/ja_JP.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_TIME 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_PAPER 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_NAME 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/ja_JP.eucjp/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/lt_LT.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/pl_PL 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_TIME 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_PAPER 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_NAME 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/pl_PL/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_TIME 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_PAPER 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_NAME 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/pl_PL.iso88592/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/pl_PL.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/ru_RU 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_TIME 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_PAPER 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_NAME 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/ru_RU/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/ru_RU.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/sr_RS 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_TIME 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_PAPER 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_NAME 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/sr_RS/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/sr_RS@latin 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_TIME 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_PAPER 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_NAME 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/sr_RS@latin/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/sv_SE 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_TIME 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_PAPER 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_NAME 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/sv_SE/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/sv_SE.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/tr_TR 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_TIME 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_PAPER 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_NAME 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/tr_TR/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/tr_TR.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/tt_RU 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_TIME 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_PAPER 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_NAME 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/tt_RU/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_TIME 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_PAPER 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_NAME 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/tt_RU.utf8/LC_IDENTIFICATION 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_CTYPE 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_NUMERIC 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_TIME 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_COLLATE 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_MONETARY 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_PAPER 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_NAME 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_ADDRESS 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_TELEPHONE 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_MEASUREMENT 683s /tmp/tmp.ATem1luFk8/tt_RU@iqtelif/LC_IDENTIFICATION 683s 1..319 683s # Running test: glib/gapplication.test 683s TAP version 14 683s # random seed: R02Sf86cff7d037c96402b813c3fba83f1c9 683s 1..24 683s # Start of gapplication tests 683s ok 1 /gapplication/no-dbus 683s ok 2 /gapplication/no-appid 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 683s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s ok 3 /gapplication/properties 683s ok 4 /gapplication/app-id 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 683s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s ok 5 /gapplication/quit 683s ok 6 /gapplication/registered 683s ok 7 /gapplication/local-actions 683s ok 8 /gapplication/local-command-line 683s ok 9 /gapplication/resource-path 683s ok 10 /gapplication/test-help 683s ok 11 /gapplication/command-line-done 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 683s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s ok 12 /gapplication/test-busy 683s ok 13 /gapplication/test-handle-local-options1 683s ok 14 /gapplication/test-handle-local-options2 683s ok 15 /gapplication/test-handle-local-options3 683s ok 16 /gapplication/api 683s ok 17 /gapplication/version 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 683s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 683s # launching subprocess 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s ok 18 /gapplication/replace 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 683s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 683s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 683s # launching subprocess 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 19 /gapplication/no-replace 684s # slow test /gapplication/no-replace executed in 0.51 secs 684s # Start of dbus tests 684s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 684s # Message 0 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 1 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 2 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 20 /gapplication/dbus/activate 684s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 684s # Message 0 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 684s # Message 1 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 2 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 3 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 21 /gapplication/dbus/open 684s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 684s # Message 0 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 1 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 2 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 22 /gapplication/dbus/command-line 684s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 23 /gapplication/dbus/command-line-done 684s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 684s # Message 0 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 1 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 2 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 3 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 4 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 5 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 6 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 7 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 8 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 9 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 10 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # Message 11 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 684s ok 24 /gapplication/dbus/activate-action 684s # End of dbus tests 684s # End of gapplication tests 684s ok - glib/gapplication.test 684s # Running test: glib/assert-msg-test.py.test 684s TAP version 13 684s ok 1 __main__.TestAssertMessage.test_gassert 684s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 684s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 684s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 684s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 684s # Error: ** 684s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 684s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 684s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 684s 1..2 684s ok - glib/assert-msg-test.py.test 684s # Running test: glib/search-utils.test 684s TAP version 14 684s # random seed: R02S79abcb4c7d140d9085cfe059b75522c8 684s # GLib-DEBUG: Current user locale: C.UTF-8 684s 1..6 684s # Start of search tests 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 684s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 684s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 684s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 684s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 684s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 684s ok 1 /search/basic 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 684s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 684s # GLib-DEBUG: 'ele' - 'élève' should match: OK 684s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 684s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 684s ok 2 /search/composed 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 684s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 684s ok 3 /search/decomposed 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 684s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 684s ok 4 /search/turkish 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 684s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 684s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 684s ok 5 /search/c_locale_unicode 684s # GLib-DEBUG: Started 684s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 684s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 684s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 684s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 684s ok 6 /search/multi_words 684s # End of search tests 684s ok - glib/search-utils.test 684s # Running test: glib/properties.test 684s TAP version 14 684s # random seed: R02S8bec7bba1ca7e38d3fc6180f1aeddc3b 684s 1..13 684s # Start of properties tests 684s ok 1 /properties/install 684s ok 2 /properties/install-many 684s ok 3 /properties/notify 684s ok 4 /properties/notify-queue 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 684s ok 5 /properties/construct 684s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 684s # Test g_object_get_property with an initialized value 684s # Test g_object_get_property with an uninitialized value 684s # Test g_object_get_property with a transformable value 684s ok 6 /properties/get-property 684s ok 7 /properties/testv_with_no_properties 684s ok 8 /properties/testv_with_valid_properties 684s ok 9 /properties/testv_with_invalid_property_type 684s ok 10 /properties/testv_with_invalid_property_names 684s ok 11 /properties/testv_getv 684s ok 12 /properties/testv_notify_queue 684s # Start of set-property tests 684s # Start of variant tests 684s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 684s ok 13 /properties/set-property/variant/floating 684s # End of variant tests 684s # End of set-property tests 684s # End of properties tests 684s ok - glib/properties.test 684s # Running test: glib/properties-refcount1.test 684s TAP version 14 684s # random seed: R02S737bfa748033ec124adc7b6a3cb2462c 684s 1..1 684s # Start of gobject tests 684s # Start of refcount tests 684s # .b 684s # .f 684s # .e 684s # .d 684s # .b 684s # .c 684s # .f 684s # .e 684s # .e 684s # .b 684s # .c 684s # .d 684s # .f 684s # .e 684s # .b 684s # .c 685s # .d 685s # .e 685s # .b 685s # .c 685s # .d 685s # .f 685s # .e 685s # .b 685s # .c 685s # .d 685s # .e 685s # .b 685s # .c 685s # .f 685s # .d 685s # .e 685s # .b 685s # .c 685s # .d 685s # .e 685s # .f 685s # .b 686s # .d 686s # .e 686s # .c 686s # .b 686s # .f 686s # .e 686s # .b 686s # .d 686s # .f 686s # .e 686s # .c 686s # .b 686s # .f 686s # .e 686s # .b 686s # .d 686s # .c 686s # .f 686s # .e 686s # .b 686s # .d 686s # .c 686s # .e 686s # .f 686s # .b 686s # .d 687s # .c 687s # .f 687s # .e 687s # .b 687s # .d 687s ok 1 /gobject/refcount/properties-1 687s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 687s # End of refcount tests 687s # End of gobject tests 687s ok - glib/properties-refcount1.test 687s # Running test: glib/objects-refcount2.test 687s TAP version 14 687s # random seed: R02S589405db08e274e9b891950fa58ac5f7 687s 1..1 687s # Start of gobject tests 687s # Start of refcount tests 687s # init 0x46ff1e0 687s # 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 687s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # Executing: glib/objects-refcount2.test 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 688s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 689s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 690s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # Executing: glib/objects-refcount2.test 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 696s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 697s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # Executing: glib/objects-refcount2.test 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 698s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # . 699s # dispose 0x46ff1e0! 699s # 699s ok 1 /gobject/refcount/object-advanced 699s # slow test /gobject/refcount/object-advanced executed in 12.09 secs 699s # End of refcount tests 699s # End of gobject tests 699s ok - glib/objects-refcount2.test 699s # Running test: glib/refstring.test 699s TAP version 14 699s # random seed: R02S4afa98533bd32bf8d44cc8de0e9d0db0 699s 1..5 699s # Start of refstring tests 699s # s = 'hello, world' (0x11bb9eb0) 699s ok 1 /refstring/base 699s ok 2 /refstring/length 699s ok 3 /refstring/length-auto 699s ok 4 /refstring/length-nuls 699s # s = 'hello, world' (0x11bb1fb0) 699s # p = s = 'hello, world' (0x11bb1fb0) 699s # releasing p[0x11bb1fb0] ('hello, world') 699s # p = 'goodbye, world' (0x11bb1fd8) 699s # releasing p[0x11bb1fd8] ('goodbye, world') 699s # releasing s[0x11bb1fb0] ('hello, world') 699s ok 5 /refstring/intern 699s # End of refstring tests 699s ok - glib/refstring.test 699s # Running test: glib/simple-async-result.test 699s TAP version 14 699s # random seed: R02S9edc26aa827b342a1fd933f6d77e5662 699s 1..2 699s # Start of gio tests 699s # Start of simple-async-result tests 699s ok 1 /gio/simple-async-result/test 699s # GLib-GIO-DEBUG: GTask 0xef2f218 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 699s ok 2 /gio/simple-async-result/valid 699s # End of simple-async-result tests 699s # End of gio tests 699s ok - glib/simple-async-result.test 699s # Running test: glib/null-settings-backend.test 699s TAP version 14 699s # random seed: R02S1e0488292b5810499116622ed67271d5 699s 1..1 699s # Start of null-settings-backend tests 699s ok 1 /null-settings-backend/extension-point-registered 699s # End of null-settings-backend tests 699s ok - glib/null-settings-backend.test 699s # Running test: glib/gdbus-names.test 699s TAP version 14 699s # random seed: R02Sbf3c9c9a20d0587bc53247f32a57f985 699s 1..10 699s # Start of gdbus tests 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/validate-names/.dirs/runtime 699s ok 1 /gdbus/validate-names 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-own-name/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 2 /gdbus/bus-own-name 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 3 /gdbus/bus-watch-name 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 4 /gdbus/bus-watch-name-auto-start 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s dbus-daemon[1634]: [session uid=1000 pid=1634] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=1624 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 699s # Acquired a message bus connection 699s dbus-daemon[1634]: [session uid=1000 pid=1634] Successfully activated service 'org.gtk.GDBus.FakeService' 699s # Acquired the name org.gtk.GDBus.FakeService 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 6 /gdbus/bus-watch-name-closures 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 7 /gdbus/bus-watch-name-closures-auto-start 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-watch-different-context/.dirs/runtime 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 8 /gdbus/bus-watch-different-context 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/bus-unwatch-early/.dirs/runtime 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 9 /gdbus/bus-unwatch-early 699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/home 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/cache 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/system-config2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/config 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/system-data2 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/data 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/state 699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_WI70W2/gdbus/escape-object-path/.dirs/runtime 699s ok 10 /gdbus/escape-object-path 699s # End of gdbus tests 699s ok - glib/gdbus-names.test 699s # Running test: glib/cxx-20.test 699s TAP version 14 699s # random seed: R02Sc657ce751f2d6d420ffdba0fac6d805b 699s 1..2 699s # Start of gtask tests 699s # 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. 699s ok 1 /gtask/name 699s # Start of name tests 699s # 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. 699s ok 2 /gtask/name/macro-wrapper 699s # End of name tests 699s # End of gtask tests 699s ok - glib/cxx-20.test 699s # Running test: glib/642026.test 699s TAP version 14 699s # random seed: R02Sc21c20136bafae96058529b234c41a6b 699s 1..1 699s # Start of glib tests 699s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 699s ok 1 /glib/642026 699s # End of glib tests 699s ok - glib/642026.test 699s # Running test: glib/fdo-notification-backend.test 699s TAP version 14 699s # random seed: R02S3035dfa9bff77421c1297162b3ea8984 699s 1..2 699s # Start of fdo-notification-backend tests 699s # Test constructing a GFdoNotificationBackend 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 1 /fdo-notification-backend/construction 699s # Start of dbus tests 699s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 699s ok 2 /fdo-notification-backend/dbus/activate-action 699s # End of dbus tests 699s # End of fdo-notification-backend tests 699s ok - glib/fdo-notification-backend.test 699s # Running test: glib/reference.test 699s TAP version 14 699s # random seed: R02Sd025872ae1ed19b3016b4b5f7f03cdfb 699s 1..29 699s # Start of type tests 699s ok 1 /type/fundamentals 699s ok 2 /type/qdata 699s ok 3 /type/query 699s ok 4 /type/class-private 699s # End of type tests 699s # Start of object tests 699s ok 5 /object/clear 699s ok 6 /object/clear-function 699s ok 7 /object/set 699s ok 8 /object/set-function 699s ok 9 /object/value 699s ok 10 /object/initially-unowned 699s ok 11 /object/weak-pointer 699s ok 12 /object/weak-ref 699s ok 13 /object/toggle-ref 699s ok 14 /object/qdata 699s ok 15 /object/qdata2 699s # Start of set tests 699s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 699s ok 16 /object/set/derived-type 699s # End of set tests 699s # Start of weak-pointer tests 699s ok 17 /object/weak-pointer/clear 699s ok 18 /object/weak-pointer/clear-function 699s ok 19 /object/weak-pointer/set 699s ok 20 /object/weak-pointer/set-function 699s # End of weak-pointer tests 699s # Start of weak-ref tests 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 699s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 699s ok 21 /object/weak-ref/on-dispose 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 699s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 699s ok 22 /object/weak-ref/on-run-dispose 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 699s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 699s ok 23 /object/weak-ref/on-toggle-notify 699s ok 24 /object/weak-ref/in-toggle-notify 699s ok 25 /object/weak-ref/many 699s # Start of concurrent tests 699s ok 26 /object/weak-ref/concurrent/0 699s ok 27 /object/weak-ref/concurrent/1 699s # End of concurrent tests 699s # End of weak-ref tests 699s # Start of toggle-ref tests 699s ok 28 /object/toggle-ref/ref-on-dispose 699s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 699s # End of toggle-ref tests 699s # End of object tests 699s ok - glib/reference.test 699s # Running test: glib/io-channel.test 699s TAP version 14 699s # random seed: R02Sd34f7da459416ed93db1a8de0034b3d7 699s 1..2 699s # Start of io-channel tests 699s # Line one 699s # 699s # Line two 699s # 699s # Line three 699s # 699s # /* Hello */ 699s # 699s # \x1234\x567890\x6666 699s # 699s # read 62 bytes, wrote 62 bytes 699s ok 1 /io-channel/read-write 699s # Start of read-line tests 699s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 699s ok 2 /io-channel/read-line/embedded-nuls 699s # End of read-line tests 699s # End of io-channel tests 699s ok - glib/io-channel.test 699s # Running test: glib/unix-mounts.test 699s TAP version 14 699s # random seed: R02S61c9b402b771fc0d1e619eb8187f610e 699s 1..4 699s # Start of unix-mounts tests 699s ok 1 /unix-mounts/is-system-fs-type 699s ok 2 /unix-mounts/is-system-device-path 699s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 699s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 699s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 699s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 699s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 699s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 699s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 699s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 699s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 699s ok 3 /unix-mounts/get-mount-points 699s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 699s ok 4 /unix-mounts/get-mount-entries 699s # End of unix-mounts tests 699s ok - glib/unix-mounts.test 699s # Running test: glib/dataset.test 699s TAP version 14 699s # random seed: R02S04bdb29a376a4d2cd9c0896c15eccda1 699s 1..14 699s # Start of quark tests 699s ok 1 /quark/basic 699s ok 2 /quark/string 699s # End of quark tests 699s # Start of dataset tests 699s ok 3 /dataset/basic 699s ok 4 /dataset/id 699s ok 5 /dataset/full 699s ok 6 /dataset/foreach 699s ok 7 /dataset/destroy 699s # End of dataset tests 699s # Start of datalist tests 699s ok 8 /datalist/basic 699s ok 9 /datalist/id 699s ok 10 /datalist/recursive-clear 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 699s ok 11 /datalist/id-remove-multiple 699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 699s ok 12 /datalist/id-remove-multiple-destroy-order 699s ok 13 /datalist/update-atomic 699s # Start of id-remove-multiple tests 699s ok 14 /datalist/id-remove-multiple/resize 699s # End of id-remove-multiple tests 699s # End of datalist tests 699s ok - glib/dataset.test 699s # Running test: glib/refcount.test 699s TAP version 14 699s # random seed: R02Se42471c4f54b3b1479ff9a77bd2a8479 699s 1..4 699s # Start of refcount tests 699s ok 1 /refcount/grefcount 699s ok 2 /refcount/gatomicrefcount 699s # Start of grefcount tests 699s ok 3 /refcount/grefcount/saturation 699s # End of grefcount tests 699s # Start of gatomicrefcount tests 699s ok 4 /refcount/gatomicrefcount/saturation 699s # End of gatomicrefcount tests 699s # End of refcount tests 699s ok - glib/refcount.test 699s # Running test: glib/power-profile-monitor-portal.test 699s TAP version 13 699s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 700s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 700s 1..2 700s ok - glib/power-profile-monitor-portal.test 700s # Running test: glib/tls-database.test 700s TAP version 14 700s # random seed: R02S8eded840f036b3fa03522b04d64b6e9d 700s 1..1 700s # Start of tls-backend tests 700s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 700s ok 1 /tls-backend/set-default-database 700s # End of tls-backend tests 700s ok - glib/tls-database.test 700s # Running test: glib/application-command-line.test 700s TAP version 14 700s # random seed: R02S17230ca58cc45da77076debf68cc6e91 700s 1..1 700s # Start of application-command-line tests 700s ok 1 /application-command-line/basic-properties 700s # End of application-command-line tests 700s ok - glib/application-command-line.test 700s # Running test: glib/error.test 700s TAP version 14 700s # random seed: R02S270209bc6f2cf76c54760e056c57a17c 700s 1..3 700s # Start of error tests 700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/home 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/cache 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/system-config1:/tmp/test_error_KOZ6W2/error/from-errno/.dirs/system-config2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/config 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/system-data1:/tmp/test_error_KOZ6W2/error/from-errno/.dirs/system-data2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/data 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/state 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KOZ6W2/error/from-errno/.dirs/runtime 700s ok 1 /error/from-errno 700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/home 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/cache 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/system-config1:/tmp/test_error_KOZ6W2/error/from-file-error/.dirs/system-config2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/config 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/system-data1:/tmp/test_error_KOZ6W2/error/from-file-error/.dirs/system-data2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/data 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/state 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KOZ6W2/error/from-file-error/.dirs/runtime 700s ok 2 /error/from-file-error 700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/home 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/cache 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/system-config2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/config 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/system-data2 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/data 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/state 700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KOZ6W2/error/from-win32-error/.dirs/runtime 700s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 700s # End of error tests 700s ok - glib/error.test 700s # Running test: glib/gobject-private.test 700s TAP version 14 700s # random seed: R02Sfe4c4db24cd90926b55ef4fced4cfaea 700s 1..3 700s # Start of private tests 700s ok 1 /private/instance 700s ok 2 /private/derived-instance 700s ok 3 /private/mixed-derived-instance 700s # End of private tests 700s ok - glib/gobject-private.test 700s # Running test: glib/gsubprocess.test 700s TAP version 14 700s # random seed: R02S72dfc59d583444d0fc04e9fc0a00f5be 700s 1..83 700s # Start of gsubprocess tests 700s ok 1 /gsubprocess/noop 700s ok 2 /gsubprocess/noop-all-to-null 700s ok 3 /gsubprocess/noop-no-wait 700s ok 4 /gsubprocess/noop-stdin-inherit 700s ok 5 /gsubprocess/search-path 700s ok 6 /gsubprocess/search-path-from-envp 703s # Executing: glib/gsubprocess.test 703s ok 7 /gsubprocess/signal 703s # slow test /gsubprocess/signal executed in 3.72 secs 703s ok 8 /gsubprocess/exit1 703s ok 9 /gsubprocess/echo1 703s ok 10 /gsubprocess/echo-merged 703s ok 11 /gsubprocess/cat-utf8 704s ok 12 /gsubprocess/cat-eof 704s # slow test /gsubprocess/cat-eof executed in 1.00 secs 707s ok 13 /gsubprocess/multi1 707s # slow test /gsubprocess/multi1 executed in 3.01 secs 707s ok 14 /gsubprocess/communicate 708s # Executing: glib/gsubprocess.test 710s ok 15 /gsubprocess/terminate 710s # slow test /gsubprocess/terminate executed in 2.97 secs 710s ok 16 /gsubprocess/env 710s ok 17 /gsubprocess/cwd 710s ok 18 /gsubprocess/launcher-close 710s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 710s ok 19 /gsubprocess/stdout-file 710s ok 20 /gsubprocess/stdout-fd 710s ok 21 /gsubprocess/child-setup 710s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 710s ok 22 /gsubprocess/launcher-environment 710s # Start of exit1 tests 710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 710s ok 23 /gsubprocess/exit1/cancel 710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 710s ok 24 /gsubprocess/exit1/cancel_in_cb 710s # End of exit1 tests 710s # Start of communicate tests 710s ok 25 /gsubprocess/communicate/cancelled 710s ok 26 /gsubprocess/communicate/async 710s ok 27 /gsubprocess/communicate/utf8 710s # hello world 710s ok 28 /gsubprocess/communicate/no-pipes 710s ok 29 /gsubprocess/communicate/separate-stderr 710s ok 30 /gsubprocess/communicate/stdout-only 710s # hello world 710s ok 31 /gsubprocess/communicate/stderr-only 710s ok 32 /gsubprocess/communicate/stdout-silence 710s ok 33 /gsubprocess/communicate/nothing 710s # Start of async tests 710s ok 34 /gsubprocess/communicate/async/cancelled 710s # hello world 710s ok 35 /gsubprocess/communicate/async/no-pipes 710s ok 36 /gsubprocess/communicate/async/separate-stderr 710s ok 37 /gsubprocess/communicate/async/stdout-only 710s # hello world 710s ok 38 /gsubprocess/communicate/async/stderr-only 710s ok 39 /gsubprocess/communicate/async/stdout-silence 710s # Start of cancelled tests 710s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 710s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 710s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 710s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 710s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 710s # End of cancelled tests 710s # End of async tests 710s # Start of utf8 tests 710s ok 45 /gsubprocess/communicate/utf8/cancelled 710s ok 46 /gsubprocess/communicate/utf8/async 710s # hello world 710s ok 47 /gsubprocess/communicate/utf8/no-pipes 710s ok 48 /gsubprocess/communicate/utf8/separate-stderr 710s ok 49 /gsubprocess/communicate/utf8/stdout-only 710s # hello world 710s ok 50 /gsubprocess/communicate/utf8/stderr-only 710s ok 51 /gsubprocess/communicate/utf8/stdout-silence 710s ok 52 /gsubprocess/communicate/utf8/invalid 710s # Start of async tests 710s ok 53 /gsubprocess/communicate/utf8/async/cancelled 710s # hello world 710s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 710s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 710s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 710s # hello world 710s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 711s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 711s ok 59 /gsubprocess/communicate/utf8/async/invalid 711s # Start of cancelled tests 711s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 711s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 711s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 711s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 711s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 711s # End of cancelled tests 711s # End of async tests 711s # Start of cancelled tests 711s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 711s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 711s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 711s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 711s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 711s # End of cancelled tests 711s # End of utf8 tests 711s # Start of cancelled tests 711s ok 70 /gsubprocess/communicate/cancelled/no-pipes 711s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 711s ok 72 /gsubprocess/communicate/cancelled/stdout-only 711s ok 73 /gsubprocess/communicate/cancelled/stderr-only 711s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 711s # End of cancelled tests 711s # End of communicate tests 711s # Start of env tests 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s ok 75 /gsubprocess/env/inherit 711s # End of env tests 711s # Start of pass-fd tests 711s ok 76 /gsubprocess/pass-fd/basic 711s ok 77 /gsubprocess/pass-fd/empty-child-setup 711s ok 78 /gsubprocess/pass-fd/inherit-fds 711s # End of pass-fd tests 711s # Start of fd-conflation tests 711s ok 79 /gsubprocess/fd-conflation/basic 711s ok 80 /gsubprocess/fd-conflation/empty-child-setup 711s ok 81 /gsubprocess/fd-conflation/inherit-fds 711s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 711s # End of fd-conflation tests 711s # Start of exit-status tests 711s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 711s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 711s ok 83 /gsubprocess/exit-status/trapped 711s # End of exit-status tests 711s # End of gsubprocess tests 711s ok - glib/gsubprocess.test 711s # Running test: glib/dir.test 711s TAP version 14 711s # random seed: R02Sf1c2be3dbabcfdf3b367bec02e0f3f4b 711s 1..3 711s # Start of dir tests 711s ok 1 /dir/read 711s ok 2 /dir/nonexisting 711s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 711s ok 3 /dir/refcounting 711s # End of dir tests 711s ok - glib/dir.test 711s # Running test: glib/filter-streams.test 711s TAP version 14 711s # random seed: R02Se76f60659c352f3e6efffc7a95dac159 711s 1..4 711s # Start of filter-stream tests 711s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 711s ok 1 /filter-stream/input 711s ok 2 /filter-stream/output 711s ok 3 /filter-stream/async-input 711s ok 4 /filter-stream/async-output 711s # End of filter-stream tests 711s ok - glib/filter-streams.test 711s # Running test: glib/converter.test 711s TAP version 14 711s # random seed: R02S2d071a978c98b59ba6c447cf2e00d85e 711s 1..1 711s # Start of converter tests 711s ok 1 /converter/bytes 711s # End of converter tests 711s ok - glib/converter.test 711s # Running test: glib/properties-introspection.test 711s TAP version 14 711s # random seed: R02S01f8330a5344619b6cf05262960de9e5 711s 1..2 711s # Start of properties tests 711s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 711s ok 1 /properties/introspection 711s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 711s ok 2 /properties/collision 711s # End of properties tests 711s ok - glib/properties-introspection.test 711s # Running test: glib/inet-address.test 711s TAP version 14 711s # random seed: R02S75dd9b7bb10bf3275621bda734af9d2c 711s 1..11 711s # Start of inet-address tests 711s ok 1 /inet-address/parse 711s ok 2 /inet-address/any 711s ok 3 /inet-address/loopback 711s ok 4 /inet-address/bytes 711s ok 5 /inet-address/property 711s # End of inet-address tests 711s # Start of socket-address tests 711s ok 6 /socket-address/basic 711s ok 7 /socket-address/to-string 711s # End of socket-address tests 711s # Start of address-mask tests 711s ok 8 /address-mask/parse 711s ok 9 /address-mask/property 711s ok 10 /address-mask/equal 711s ok 11 /address-mask/match 711s # End of address-mask tests 711s ok - glib/inet-address.test 711s # Running test: glib/bindinggroup.test 711s TAP version 14 711s # random seed: R02S43e2c88ab7a8e36f11c86343ca30a8dc 711s 1..11 711s # Start of GObject tests 711s # Start of BindingGroup tests 711s ok 1 /GObject/BindingGroup/invalid 711s ok 2 /GObject/BindingGroup/default 711s ok 3 /GObject/BindingGroup/bidirectional 711s ok 4 /GObject/BindingGroup/transform 711s ok 5 /GObject/BindingGroup/transform-closures 711s ok 6 /GObject/BindingGroup/same-object 711s ok 7 /GObject/BindingGroup/weak-ref-source 711s ok 8 /GObject/BindingGroup/weak-ref-target 711s ok 9 /GObject/BindingGroup/properties 711s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 711s ok 11 /GObject/BindingGroup/empty-closures 711s # End of BindingGroup tests 711s # End of GObject tests 711s ok - glib/bindinggroup.test 711s # Running test: glib/rwlock.test 711s TAP version 14 711s # random seed: R02Sc871a0485eec29d90e06b02d77d9a866 711s 1..8 711s # Start of thread tests 711s ok 1 /thread/rwlock1 711s ok 2 /thread/rwlock2 711s ok 3 /thread/rwlock3 711s ok 4 /thread/rwlock4 711s ok 5 /thread/rwlock5 711s ok 6 /thread/rwlock6 713s ok 7 /thread/rwlock7 713s # slow test /thread/rwlock7 executed in 2.59 secs 713s ok 8 /thread/rwlock8 713s # End of thread tests 713s ok - glib/rwlock.test 713s # Running test: glib/async-close-output-stream.test 713s TAP version 14 713s # random seed: R02S3dd3428b0a63a9f06229c2484032e105 713s 1..3 713s # Start of close-async tests 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 713s ok 1 /close-async/without-flush 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 713s ok 2 /close-async/with-flush 713s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 713s ok 3 /close-async/with-async-flush 713s # End of close-async tests 713s ok - glib/async-close-output-stream.test 713s # Running test: glib/gdbus-peer.test 713s TAP version 14 713s # random seed: R02S82eb16b2d67009ef29921815bdd6aaf4 713s 1..12 713s # Start of gdbus tests 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/.dirs/runtime 713s # Testing with unix:dir address 713s # Testing with unix:tmpdir address 713s # Testing with unix:path address 713s ok 1 /gdbus/peer-to-peer 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/delayed-message-processing/.dirs/runtime 713s # Testing with unix:dir address 713s # Executing: glib/gdbus-peer.test 714s ok 2 /gdbus/delayed-message-processing 714s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/nonce-tcp/.dirs/runtime 714s ok 3 /gdbus/nonce-tcp 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/tcp-anonymous/.dirs/runtime 714s ok 4 /gdbus/tcp-anonymous 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/credentials/.dirs/runtime 714s ok 5 /gdbus/credentials 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/codegen-peer-to-peer/.dirs/runtime 714s # Testing with unix:dir address 714s # Machine ID: 8d5d599e67df45ca925f582a3e5f1bac 715s ok 6 /gdbus/codegen-peer-to-peer 715s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 715s # Start of peer-to-peer tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/signals/.dirs/runtime 715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 715s # Testing with unix:dir address 715s ok 7 /gdbus/peer-to-peer/signals 715s # Start of invalid tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 715s ok 8 /gdbus/peer-to-peer/invalid/server 715s # Start of conn tests 715s # Start of stream tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 715s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 715s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 715s # End of stream tests 715s # Start of addr tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 715s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_9P2BX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 715s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 715s # End of addr tests 715s # End of conn tests 715s # End of invalid tests 715s # End of peer-to-peer tests 715s # End of gdbus tests 715s ok - glib/gdbus-peer.test 715s # Running test: glib/autoptr.test 715s TAP version 14 715s # random seed: R02Sa6c0560bf1d6121c256183079c8963d0 715s 1..6 715s # Start of autoptr tests 715s ok 1 /autoptr/autoptr 715s ok 2 /autoptr/autoptr_steal 715s ok 3 /autoptr/autolist 715s ok 4 /autoptr/autoslist 715s ok 5 /autoptr/autoqueue 715s ok 6 /autoptr/autoclass 715s # End of autoptr tests 715s ok - glib/autoptr.test 715s # Running test: glib/utf8-performance.test 715s TAP version 14 715s # random seed: R02S017ee6314d2043dc1bef5fc1d980afe9 715s 1..36 715s # Start of utf8 tests 715s # Start of perf tests 715s # Start of get_char tests 715s # max perf: 7.2 MB/s 715s ok 1 /utf8/perf/get_char/ascii 715s # max perf: 67.0 MB/s 715s ok 2 /utf8/perf/get_char/latin1 715s # max perf: 160.0 MB/s 715s ok 3 /utf8/perf/get_char/cyrillic 715s # max perf: 156.0 MB/s 715s ok 4 /utf8/perf/get_char/han 715s # End of get_char tests 715s # Start of get_char-backwards tests 715s # max perf: inf MB/s 715s ok 5 /utf8/perf/get_char-backwards/ascii 715s # max perf: 67.0 MB/s 715s ok 6 /utf8/perf/get_char-backwards/latin1 715s # max perf: 160.0 MB/s 715s ok 7 /utf8/perf/get_char-backwards/cyrillic 715s # max perf: 156.0 MB/s 715s ok 8 /utf8/perf/get_char-backwards/han 715s # End of get_char-backwards tests 715s # Start of get_char_validated tests 715s # max perf: 43.0 MB/s 715s ok 9 /utf8/perf/get_char_validated/ascii 715s # max perf: inf MB/s 715s ok 10 /utf8/perf/get_char_validated/latin1 715s # max perf: inf MB/s 715s ok 11 /utf8/perf/get_char_validated/cyrillic 715s # max perf: 156.0 MB/s 715s ok 12 /utf8/perf/get_char_validated/han 715s # End of get_char_validated tests 715s # Start of utf8_to_ucs4 tests 715s # max perf: 43.0 MB/s 715s ok 13 /utf8/perf/utf8_to_ucs4/ascii 715s # max perf: 67.0 MB/s 715s ok 14 /utf8/perf/utf8_to_ucs4/latin1 715s # max perf: 160.0 MB/s 715s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 715s # max perf: 156.0 MB/s 715s ok 16 /utf8/perf/utf8_to_ucs4/han 715s # End of utf8_to_ucs4 tests 715s # Start of utf8_to_ucs4-sized tests 715s # max perf: 43.0 MB/s 715s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 715s # max perf: 67.0 MB/s 715s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 715s # max perf: 160.0 MB/s 715s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 715s # max perf: inf MB/s 715s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 715s # End of utf8_to_ucs4-sized tests 715s # Start of utf8_to_ucs4_fast tests 715s # max perf: 43.0 MB/s 715s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 715s # max perf: 67.0 MB/s 715s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 715s # max perf: 160.0 MB/s 715s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 715s # max perf: inf MB/s 715s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 715s # End of utf8_to_ucs4_fast tests 715s # Start of utf8_to_ucs4_fast-sized tests 715s # max perf: inf MB/s 715s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 715s # max perf: 67.0 MB/s 715s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 715s # max perf: 160.0 MB/s 715s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 715s # max perf: 156.0 MB/s 715s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 715s # End of utf8_to_ucs4_fast-sized tests 715s # Start of utf8_validate tests 715s # max perf: inf MB/s 715s ok 29 /utf8/perf/utf8_validate/ascii 715s # max perf: 67.0 MB/s 715s ok 30 /utf8/perf/utf8_validate/latin1 715s # max perf: inf MB/s 715s ok 31 /utf8/perf/utf8_validate/cyrillic 715s # max perf: inf MB/s 715s ok 32 /utf8/perf/utf8_validate/han 715s # End of utf8_validate tests 715s # Start of utf8_validate-sized tests 715s # max perf: 43.0 MB/s 715s ok 33 /utf8/perf/utf8_validate-sized/ascii 715s # max perf: inf MB/s 715s ok 34 /utf8/perf/utf8_validate-sized/latin1 715s # max perf: inf MB/s 715s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 715s # max perf: inf MB/s 715s ok 36 /utf8/perf/utf8_validate-sized/han 715s # End of utf8_validate-sized tests 715s # End of perf tests 715s # End of utf8 tests 715s ok - glib/utf8-performance.test 715s # Running test: glib/portal-support-flatpak-none.test 715s TAP version 14 715s # random seed: R02S306bda42cf091f775e26764e75256107 715s 1..1 715s # Start of portal-support tests 715s # Start of flatpak tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/runtime 715s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_B7C4W2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 715s ok 1 /portal-support/flatpak/none 715s # End of flatpak tests 715s # End of portal-support tests 715s ok - glib/portal-support-flatpak-none.test 715s # Running test: glib/codegen.py.test 715s TAP version 13 715s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 715s # tmpdir: /tmp/tmpwutmv9fn 715s # codegen: /usr/bin/gdbus-codegen 715s # /tmp/tmpwutmv9fn/tmplg_s2wv8.xml: 715s # 715s # 715s # 715s # 715s # 715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwutmv9fn/tmplg_s2wv8.xml', '--output', '-', '--header'] 715s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 715s # Output: /* 715s # * This file is generated by gdbus-codegen, do not modify it. 715s # * 715s # * The license of this code is the same as for the D-Bus interface description 715s # * it was derived from. Note that it links to GLib, so must comply with the 715s # * LGPL linking clauses. 715s # */ 715s # 715s # #ifndef __STDOUT__ 715s # #define __STDOUT__ 715s # 715s # #include 715s # 715s # G_BEGIN_DECLS 715s # 715s # 715s # /* ------------------------------------------------------------------------ */ 715s # /* Declarations for org.project.UsefulInterface */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 715s # 715s # struct _OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 715s # 715s # struct _OrgProjectUsefulInterfaceIface 715s # { 715s # GTypeInterface parent_iface; 715s # 715s # gboolean (*handle_useful_method) ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # }; 715s # 715s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 715s # 715s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 715s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 715s # 715s # 715s # /* D-Bus method call completion functions: */ 715s # void org_project_useful_interface_complete_useful_method ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # 715s # 715s # /* D-Bus method calls: */ 715s # void org_project_useful_interface_call_useful_method ( 715s # OrgProjectUsefulInterface *proxy, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_finish ( 715s # OrgProjectUsefulInterface *proxy, 715s # GAsyncResult *res, 715s # GError **error); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_sync ( 715s # OrgProjectUsefulInterface *proxy, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 715s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 715s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceProxy 715s # { 715s # /*< private >*/ 715s # GDBusProxy parent_instance; 715s # OrgProjectUsefulInterfaceProxyPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceProxyClass 715s # { 715s # GDBusProxyClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 715s # #endif 715s # 715s # void org_project_useful_interface_proxy_new ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # void org_project_useful_interface_proxy_new_for_bus ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeleton 715s # { 715s # /*< private >*/ 715s # GDBusInterfaceSkeleton parent_instance; 715s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeletonClass 715s # { 715s # GDBusInterfaceSkeletonClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 715s # #endif 715s # 715s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 715s # 715s # 715s # G_END_DECLS 715s # 715s # #endif /* __STDOUT__ */ 715s # /tmp/tmpwutmv9fn/tmpma2yv23b.xml: 715s # 715s # 715s # 715s # 715s # 715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwutmv9fn/tmpma2yv23b.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 715s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 715s # Output: /* 715s # * This file is generated by gdbus-codegen, do not modify it. 715s # * 715s # * The license of this code is the same as for the D-Bus interface description 715s # * it was derived from. Note that it links to GLib, so must comply with the 715s # * LGPL linking clauses. 715s # */ 715s # 715s # #ifndef __STDOUT__ 715s # #define __STDOUT__ 715s # 715s # #include 715s # 715s # G_BEGIN_DECLS 715s # 715s # 715s # /* ------------------------------------------------------------------------ */ 715s # /* Declarations for org.project.UsefulInterface */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 715s # 715s # struct _OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 715s # 715s # struct _OrgProjectUsefulInterfaceIface 715s # { 715s # GTypeInterface parent_iface; 715s # 715s # gboolean (*handle_useful_method) ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # }; 715s # 715s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 715s # 715s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 715s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 715s # 715s # 715s # /* D-Bus method call completion functions: */ 715s # void org_project_useful_interface_complete_useful_method ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # 715s # 715s # /* D-Bus method calls: */ 715s # void org_project_useful_interface_call_useful_method ( 715s # OrgProjectUsefulInterface *proxy, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_finish ( 715s # OrgProjectUsefulInterface *proxy, 715s # GAsyncResult *res, 715s # GError **error); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_sync ( 715s # OrgProjectUsefulInterface *proxy, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 715s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 715s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceProxy 715s # { 715s # /*< private >*/ 715s # GDBusProxy parent_instance; 715s # OrgProjectUsefulInterfaceProxyPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceProxyClass 715s # { 715s # GDBusProxyClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 715s # #endif 715s # 715s # void org_project_useful_interface_proxy_new ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # void org_project_useful_interface_proxy_new_for_bus ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeleton 715s # { 715s # /*< private >*/ 715s # GDBusInterfaceSkeleton parent_instance; 715s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeletonClass 715s # { 715s # GDBusInterfaceSkeletonClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 715s # #endif 715s # 715s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 715s # 715s # 715s # G_END_DECLS 715s # 715s # #endif /* __STDOUT__ */ 715s # /tmp/tmpwutmv9fn/tmptwu41bsd.xml: 715s # 715s # 715s # 715s # 715s # 715s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwutmv9fn/tmptwu41bsd.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 715s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 715s # Output: /* 715s # * This file is generated by gdbus-codegen, do not modify it. 715s # * 715s # * The license of this code is the same as for the D-Bus interface description 715s # * it was derived from. Note that it links to GLib, so must comply with the 715s # * LGPL linking clauses. 715s # */ 715s # 715s # #ifndef __STDOUT__ 715s # #define __STDOUT__ 715s # 715s # #include 715s # 715s # G_BEGIN_DECLS 715s # 715s # 715s # /* ------------------------------------------------------------------------ */ 715s # /* Declarations for org.project.UsefulInterface */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 715s # 715s # struct _OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 715s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 715s # 715s # struct _OrgProjectUsefulInterfaceIface 715s # { 715s # GTypeInterface parent_iface; 715s # 715s # gboolean (*handle_useful_method) ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # }; 715s # 715s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 715s # 715s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 715s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 715s # 715s # 715s # /* D-Bus method call completion functions: */ 715s # void org_project_useful_interface_complete_useful_method ( 715s # OrgProjectUsefulInterface *object, 715s # GDBusMethodInvocation *invocation); 715s # 715s # 715s # 715s # /* D-Bus method calls: */ 715s # void org_project_useful_interface_call_useful_method ( 715s # OrgProjectUsefulInterface *proxy, 715s # GDBusCallFlags call_flags, 715s # gint timeout_msec, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_finish ( 715s # OrgProjectUsefulInterface *proxy, 715s # GAsyncResult *res, 715s # GError **error); 715s # 715s # gboolean org_project_useful_interface_call_useful_method_sync ( 715s # OrgProjectUsefulInterface *proxy, 715s # GDBusCallFlags call_flags, 715s # gint timeout_msec, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 715s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 715s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceProxy 715s # { 715s # /*< private >*/ 715s # GDBusProxy parent_instance; 715s # OrgProjectUsefulInterfaceProxyPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceProxyClass 715s # { 715s # GDBusProxyClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 715s # #endif 715s # 715s # void org_project_useful_interface_proxy_new ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 715s # GDBusConnection *connection, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # void org_project_useful_interface_proxy_new_for_bus ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GAsyncReadyCallback callback, 715s # gpointer user_data); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 715s # GAsyncResult *res, 715s # GError **error); 715s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 715s # GBusType bus_type, 715s # GDBusProxyFlags flags, 715s # const gchar *name, 715s # const gchar *object_path, 715s # GCancellable *cancellable, 715s # GError **error); 715s # 715s # 715s # /* ---- */ 715s # 715s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 715s # 715s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 715s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeleton 715s # { 715s # /*< private >*/ 715s # GDBusInterfaceSkeleton parent_instance; 715s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 715s # }; 715s # 715s # struct _OrgProjectUsefulInterfaceSkeletonClass 715s # { 715s # GDBusInterfaceSkeletonClass parent_class; 715s # }; 715s # 715s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 715s # 715s # #if GLIB_CHECK_VERSION(2, 44, 0) 715s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 715s # #endif 715s # 715s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 715s # 715s # 715s # G_END_DECLS 715s # 715s # #endif /* __STDOUT__ */ 716s ok 2 __main__.TestCodegen.test_dbus_types 716s # tmpdir: /tmp/tmpoadtc2i1 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpoadtc2i1/tmpbzeu0f0x.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpbzeu0f0x.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpfypb5700.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpfypb5700.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpy4i2yzfl.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpy4i2yzfl.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpzzvacsty.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpzzvacsty.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmp8qf4678c.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmp8qf4678c.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpbr64go50.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpbr64go50.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpf4kswuzi.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpf4kswuzi.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpt3l32kk4.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpt3l32kk4.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmp8mkqb_di.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmp8mkqb_di.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpfs9w8hsb.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpfs9w8hsb.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmp0c64ua70.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmp0c64ua70.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpxjn7xlmx.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpxjn7xlmx.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmp_gc752ng.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmp_gc752ng.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # /tmp/tmpoadtc2i1/tmpcu50jhym.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmpcu50jhym.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s # #ifdef G_OS_UNIX 716s # # include 716s # #endif 716s # 716s # #ifdef G_ENABLE_DEBUG 716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 716s # #else /* !G_ENABLE_DEBUG */ 716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 716s # * Do not access GValues directly in your code. Instead, use the 716s # * g_value_get_*() functions 716s # */ 716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 716s # #endif /* !G_ENABLE_DEBUG */ 716s # 716s # typedef struct 716s # { 716s # GDBusArgInfo parent_struct; 716s # gboolean use_gvariant; 716s # } _ExtendedGDBusArgInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusMethodInfo parent_struct; 716s # const gchar *signal_name; 716s # gboolean pass_fdlist; 716s # } _ExtendedGDBusMethodInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusSignalInfo parent_struct; 716s # const gchar *signal_name; 716s # } _ExtendedGDBusSignalInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusPropertyInfo parent_struct; 716s # const gchar *hyphen_name; 716s # guint use_gvariant : 1; 716s # guint emits_changed_signal : 1; 716s # } _ExtendedGDBusPropertyInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusInterfaceInfo parent_struct; 716s # const gchar *hyphen_name; 716s # } _ExtendedGDBusInterfaceInfo; 716s # 716s # typedef struct 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # guint prop_id; 716s # GValue orig_value; /* the value before the change */ 716s # } ChangedProperty; 716s # 716s # static void 716s # _changed_property_free (ChangedProperty *data) 716s # { 716s # g_value_unset (&data->orig_value); 716s # g_free (data); 716s # } 716s # 716s # static gboolean 716s # _g_strv_equal0 (gchar **a, gchar **b) 716s # { 716s # gboolean ret = FALSE; 716s # guint n; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # if (g_strv_length (a) != g_strv_length (b)) 716s # goto out; 716s # for (n = 0; a[n] != NULL; n++) 716s # if (g_strcmp0 (a[n], b[n]) != 0) 716s # goto out; 716s # ret = TRUE; 716s # out: 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _g_variant_equal0 (GVariant *a, GVariant *b) 716s # { 716s # gboolean ret = FALSE; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # ret = g_variant_equal (a, b); 716s # out: 716s # return ret; 716s # } 716s # 716s # G_GNUC_UNUSED static gboolean 716s # _g_value_equal (const GValue *a, const GValue *b) 716s # { 716s # gboolean ret = FALSE; 716s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 716s # switch (G_VALUE_TYPE (a)) 716s # { 716s # case G_TYPE_BOOLEAN: 716s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 716s # break; 716s # case G_TYPE_UCHAR: 716s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 716s # break; 716s # case G_TYPE_INT: 716s # ret = (g_value_get_int (a) == g_value_get_int (b)); 716s # break; 716s # case G_TYPE_UINT: 716s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 716s # break; 716s # case G_TYPE_INT64: 716s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 716s # break; 716s # case G_TYPE_UINT64: 716s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 716s # break; 716s # case G_TYPE_DOUBLE: 716s # { 716s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 716s # gdouble da = g_value_get_double (a); 716s # gdouble db = g_value_get_double (b); 716s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 716s # } 716s # break; 716s # case G_TYPE_STRING: 716s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 716s # break; 716s # case G_TYPE_VARIANT: 716s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 716s # break; 716s # default: 716s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 716s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 716s # else 716s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 716s # break; 716s # } 716s # return ret; 716s # } 716s # 716s # /* ------------------------------------------------------------------------ 716s # * Code for interface GoodTypes 716s # * ------------------------------------------------------------------------ 716s # */ 716s # 716s # /** 716s # * SECTION:GoodTypes 716s # * @title: GoodTypes 716s # * @short_description: Generated C code for the GoodTypes D-Bus interface 716s # * 716s # * This section contains code for working with the GoodTypes D-Bus interface in C. 716s # */ 716s # 716s # /* ---- Introspection data for GoodTypes ---- */ 716s # 716s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodPropertyType", 716s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 716s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 716s # NULL 716s # }, 716s # "good-property-type", 716s # FALSE, 716s # TRUE 716s # }; 716s # 716s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 716s # { 716s # &_good_types_property_info_good_property_type.parent_struct, 716s # NULL 716s # }; 716s # 716s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodTypes", 716s # NULL, 716s # NULL, 716s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 716s # NULL 716s # }, 716s # "good-types", 716s # }; 716s # 716s # 716s # /** 716s # * good_types_interface_info: 716s # * 716s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 716s # * 716s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 716s # */ 716s # GDBusInterfaceInfo * 716s # good_types_interface_info (void) 716s # { 716s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 716s # } 716s # 716s # /** 716s # * good_types_override_properties: 716s # * @klass: The class structure for a #GObject derived class. 716s # * @property_id_begin: The property id to assign to the first overridden property. 716s # * 716s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 716s # * The properties are overridden in the order they are defined. 716s # * 716s # * Returns: The last property id. 716s # */ 716s # guint 716s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 716s # { 716s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 716s # return property_id_begin - 1; 716s # } 716s # 716s # 716s # 716s # /** 716s # * GoodTypes: 716s # * 716s # * Abstract interface type for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # /** 716s # * GoodTypesIface: 716s # * @parent_iface: The parent interface. 716s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 716s # * 716s # * Virtual table for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # typedef GoodTypesIface GoodTypesInterface; 716s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 716s # 716s # static void 716s # good_types_default_init (GoodTypesIface *iface) 716s # { 716s # /* GObject properties for D-Bus properties: */ 716s # /** 716s # * GoodTypes:good-property-type: 716s # * 716s # * Represents the D-Bus property "GoodPropertyType". 716s # * 716s # * 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. 716s # */ 716s # g_object_interface_install_property (iface, 716s # 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)); 716s # } 716s # 716s # /** 716s # * good_types_get_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets the value of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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. 716s # * 716s # * 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. 716s # */ 716s # GVariant * 716s # good_types_get_good_property_type (GoodTypes *object) 716s # { 716s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 716s # 716s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 716s # } 716s # 716s # /** 716s # * good_types_dup_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets a copy of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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(). 716s # */ 716s # GVariant * 716s # good_types_dup_good_property_type (GoodTypes *object) 716s # { 716s # GVariant *value; 716s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 716s # return value; 716s # } 716s # 716s # /** 716s # * good_types_set_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * @value: The value to set. 716s # * 716s # * Sets the "GoodPropertyType" D-Bus property to @value. 716s # * 716s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 716s # */ 716s # void 716s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 716s # { 716s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesProxy: 716s # * 716s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesProxyClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesProxy. 716s # */ 716s # 716s # struct _GoodTypesProxyPrivate 716s # { 716s # GData *qdata; 716s # }; 716s # 716s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_ADD_PRIVATE (GoodTypesProxy) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_proxy_finalize (GObject *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # g_datalist_clear (&proxy->priv->qdata); 716s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_proxy_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 716s # if (info->use_gvariant) 716s # { 716s # g_value_set_variant (value, variant); 716s # } 716s # else 716s # { 716s # if (variant != NULL) 716s # g_dbus_gvariant_to_gvalue (variant, value); 716s # } 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 716s # GAsyncResult *res, 716s # gpointer user_data) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info = user_data; 716s # GError *error; 716s # GVariant *_ret; 716s # error = NULL; 716s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 716s # if (!_ret) 716s # { 716s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 716s # info->parent_struct.name, 716s # error->message, g_quark_to_string (error->domain), error->code); 716s # g_error_free (error); 716s # } 716s # else 716s # { 716s # g_variant_unref (_ret); 716s # } 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_dbus_proxy_call (G_DBUS_PROXY (object), 716s # "org.freedesktop.DBus.Properties.Set", 716s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_signal (GDBusProxy *proxy, 716s # const gchar *sender_name G_GNUC_UNUSED, 716s # const gchar *signal_name, 716s # GVariant *parameters) 716s # { 716s # _ExtendedGDBusSignalInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # gsize n; 716s # guint signal_id; 716s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 716s # if (info == NULL) 716s # return; 716s # num_params = g_variant_n_children (parameters); 716s # paramv = g_new0 (GValue, num_params + 1); 716s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[0], proxy); 716s # g_variant_iter_init (&iter, parameters); 716s # n = 1; 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_signal_emitv (paramv, signal_id, 0, NULL); 716s # for (n = 0; n < num_params + 1; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 716s # GVariant *changed_properties, 716s # const gchar *const *invalidated_properties) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 716s # guint n; 716s # const gchar *key; 716s # GVariantIter *iter; 716s # _ExtendedGDBusPropertyInfo *info; 716s # g_variant_get (changed_properties, "a{sv}", &iter); 716s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 716s # g_datalist_remove_data (&proxy->priv->qdata, key); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # g_variant_iter_free (iter); 716s # for (n = 0; invalidated_properties[n] != NULL; n++) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 716s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # } 716s # 716s # static GVariant * 716s # good_types_proxy_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # GVariant *variant; 716s # GVariant *value = NULL; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 716s # value = variant; 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_proxy_init (GoodTypesProxy *proxy) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # proxy->priv = good_types_proxy_get_instance_private (proxy); 716s # #else 716s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 716s # #endif 716s # 716s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 716s # } 716s # 716s # static void 716s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusProxyClass *proxy_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_proxy_finalize; 716s # gobject_class->get_property = good_types_proxy_get_property; 716s # gobject_class->set_property = good_types_proxy_set_property; 716s # 716s # proxy_class = G_DBUS_PROXY_CLASS (klass); 716s # proxy_class->g_signal = good_types_proxy_g_signal; 716s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_proxy_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_sync: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_sync ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /** 716s # * good_types_proxy_new_for_bus: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new_for_bus ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new_for_bus(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_sync: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_sync ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesSkeleton: 716s # * 716s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesSkeletonClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesSkeleton. 716s # */ 716s # 716s # struct _GoodTypesSkeletonPrivate 716s # { 716s # GValue *properties; 716s # GList *changed_properties; 716s # GSource *changed_properties_idle_source; 716s # GMainContext *context; 716s # GMutex lock; 716s # }; 716s # 716s # static void 716s # _good_types_skeleton_handle_method_call ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name, 716s # const gchar *method_name, 716s # GVariant *parameters, 716s # GDBusMethodInvocation *invocation, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # _ExtendedGDBusMethodInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # guint num_extra; 716s # gsize n; 716s # guint signal_id; 716s # GValue return_value = G_VALUE_INIT; 716s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 716s # g_assert (info != NULL); 716s # num_params = g_variant_n_children (parameters); 716s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 716s # n = 0; 716s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[n++], skeleton); 716s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 716s # g_value_set_object (¶mv[n++], invocation); 716s # if (info->pass_fdlist) 716s # { 716s # #ifdef G_OS_UNIX 716s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 716s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 716s # #else 716s # g_assert_not_reached (); 716s # #endif 716s # } 716s # g_variant_iter_init (&iter, parameters); 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_value_init (&return_value, G_TYPE_BOOLEAN); 716s # g_signal_emitv (paramv, signal_id, 0, &return_value); 716s # if (!g_value_get_boolean (&return_value)) 716s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 716s # g_value_unset (&return_value); 716s # for (n = 0; n < num_params + num_extra; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static GVariant * 716s # _good_types_skeleton_handle_get_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # GVariant *ret; 716s # ret = NULL; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # g_value_init (&value, pspec->value_type); 716s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_value_unset (&value); 716s # } 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _good_types_skeleton_handle_set_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GVariant *variant, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # gboolean ret; 716s # ret = FALSE; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # if (info->use_gvariant) 716s # g_value_set_variant (&value, variant); 716s # else 716s # g_dbus_gvariant_to_gvalue (variant, &value); 716s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # g_value_unset (&value); 716s # ret = TRUE; 716s # } 716s # return ret; 716s # } 716s # 716s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 716s # { 716s # _good_types_skeleton_handle_method_call, 716s # _good_types_skeleton_handle_get_property, 716s # _good_types_skeleton_handle_set_property, 716s # {NULL} 716s # }; 716s # 716s # static GDBusInterfaceInfo * 716s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return good_types_interface_info (); 716s # } 716s # 716s # static GDBusInterfaceVTable * 716s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # 716s # GVariantBuilder builder; 716s # guint n; 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # if (_good_types_interface_info.parent_struct.properties == NULL) 716s # goto out; 716s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 716s # { 716s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 716s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 716s # { 716s # GVariant *value; 716s # 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); 716s # if (value != NULL) 716s # { 716s # g_variant_take_ref (value); 716s # g_variant_builder_add (&builder, "{sv}", info->name, value); 716s # g_variant_unref (value); 716s # } 716s # } 716s # } 716s # out: 716s # return g_variant_builder_end (&builder); 716s # } 716s # 716s # static gboolean _good_types_emit_changed (gpointer user_data); 716s # 716s # static void 716s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # gboolean emit_changed = FALSE; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # { 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # emit_changed = TRUE; 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # 716s # if (emit_changed) 716s # _good_types_emit_changed (skeleton); 716s # } 716s # 716s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_ADD_PRIVATE (GoodTypesSkeleton) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_skeleton_finalize (GObject *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # guint n; 716s # for (n = 0; n < 1; n++) 716s # g_value_unset (&skeleton->priv->properties[n]); 716s # g_free (skeleton->priv->properties); 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # g_main_context_unref (skeleton->priv->context); 716s # g_mutex_clear (&skeleton->priv->lock); 716s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static gboolean 716s # _good_types_emit_changed (gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GList *l; 716s # GVariantBuilder builder; 716s # GVariantBuilder invalidated_builder; 716s # guint num_changes; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 716s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *cp = l->data; 716s # GVariant *variant; 716s # const GValue *cur_value; 716s # 716s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 716s # if (!_g_value_equal (cur_value, &cp->orig_value)) 716s # { 716s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 716s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 716s # g_variant_unref (variant); 716s # num_changes++; 716s # } 716s # } 716s # if (num_changes > 0) 716s # { 716s # GList *connections, *ll; 716s # GVariant *signal_variant; 716s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 716s # &builder, &invalidated_builder)); 716s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 716s # for (ll = connections; ll != NULL; ll = ll->next) 716s # { 716s # GDBusConnection *connection = ll->data; 716s # 716s # g_dbus_connection_emit_signal (connection, 716s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 716s # "org.freedesktop.DBus.Properties", 716s # "PropertiesChanged", 716s # signal_variant, 716s # NULL); 716s # } 716s # g_variant_unref (signal_variant); 716s # g_list_free_full (connections, g_object_unref); 716s # } 716s # else 716s # { 716s # g_variant_builder_clear (&builder); 716s # g_variant_builder_clear (&invalidated_builder); 716s # } 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # skeleton->priv->changed_properties = NULL; 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return FALSE; 716s # } 716s # 716s # static void 716s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 716s # { 716s # ChangedProperty *cp; 716s # GList *l; 716s # cp = NULL; 716s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *i_cp = l->data; 716s # if (i_cp->info == info) 716s # { 716s # cp = i_cp; 716s # break; 716s # } 716s # } 716s # if (cp == NULL) 716s # { 716s # cp = g_new0 (ChangedProperty, 1); 716s # cp->prop_id = prop_id; 716s # cp->info = info; 716s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 716s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 716s # g_value_copy (orig_value, &cp->orig_value); 716s # } 716s # } 716s # 716s # static void 716s # good_types_skeleton_notify (GObject *object, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties != NULL && 716s # skeleton->priv->changed_properties_idle_source == NULL) 716s # { 716s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 716s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 716s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 716s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 716s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 716s # g_source_unref (skeleton->priv->changed_properties_idle_source); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static void 716s # good_types_skeleton_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_object_freeze_notify (object); 716s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 716s # { 716s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 716s # info->emits_changed_signal) 716s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 716s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 716s # g_object_notify_by_pspec (object, pspec); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # g_object_thaw_notify (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 716s # #else 716s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 716s # #endif 716s # 716s # g_mutex_init (&skeleton->priv->lock); 716s # skeleton->priv->context = g_main_context_ref_thread_default (); 716s # skeleton->priv->properties = g_new0 (GValue, 1); 716s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # GVariant *value; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusInterfaceSkeletonClass *skeleton_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_skeleton_finalize; 716s # gobject_class->get_property = good_types_skeleton_get_property; 716s # gobject_class->set_property = good_types_skeleton_set_property; 716s # gobject_class->notify = good_types_skeleton_notify; 716s # 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 716s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 716s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 716s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 716s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_skeleton_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_skeleton_new: 716s # * 716s # * Creates a skeleton object for the D-Bus interface GoodTypes. 716s # * 716s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 716s # */ 716s # GoodTypes * 716s # good_types_skeleton_new (void) 716s # { 716s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 716s # } 716s # /tmp/tmpoadtc2i1/tmp31ki96qw.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmp31ki96qw.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s # #ifdef G_OS_UNIX 716s # # include 716s # #endif 716s # 716s # #ifdef G_ENABLE_DEBUG 716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 716s # #else /* !G_ENABLE_DEBUG */ 716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 716s # * Do not access GValues directly in your code. Instead, use the 716s # * g_value_get_*() functions 716s # */ 716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 716s # #endif /* !G_ENABLE_DEBUG */ 716s # 716s # typedef struct 716s # { 716s # GDBusArgInfo parent_struct; 716s # gboolean use_gvariant; 716s # } _ExtendedGDBusArgInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusMethodInfo parent_struct; 716s # const gchar *signal_name; 716s # gboolean pass_fdlist; 716s # } _ExtendedGDBusMethodInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusSignalInfo parent_struct; 716s # const gchar *signal_name; 716s # } _ExtendedGDBusSignalInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusPropertyInfo parent_struct; 716s # const gchar *hyphen_name; 716s # guint use_gvariant : 1; 716s # guint emits_changed_signal : 1; 716s # } _ExtendedGDBusPropertyInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusInterfaceInfo parent_struct; 716s # const gchar *hyphen_name; 716s # } _ExtendedGDBusInterfaceInfo; 716s # 716s # typedef struct 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # guint prop_id; 716s # GValue orig_value; /* the value before the change */ 716s # } ChangedProperty; 716s # 716s # static void 716s # _changed_property_free (ChangedProperty *data) 716s # { 716s # g_value_unset (&data->orig_value); 716s # g_free (data); 716s # } 716s # 716s # static gboolean 716s # _g_strv_equal0 (gchar **a, gchar **b) 716s # { 716s # gboolean ret = FALSE; 716s # guint n; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # if (g_strv_length (a) != g_strv_length (b)) 716s # goto out; 716s # for (n = 0; a[n] != NULL; n++) 716s # if (g_strcmp0 (a[n], b[n]) != 0) 716s # goto out; 716s # ret = TRUE; 716s # out: 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _g_variant_equal0 (GVariant *a, GVariant *b) 716s # { 716s # gboolean ret = FALSE; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # ret = g_variant_equal (a, b); 716s # out: 716s # return ret; 716s # } 716s # 716s # G_GNUC_UNUSED static gboolean 716s # _g_value_equal (const GValue *a, const GValue *b) 716s # { 716s # gboolean ret = FALSE; 716s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 716s # switch (G_VALUE_TYPE (a)) 716s # { 716s # case G_TYPE_BOOLEAN: 716s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 716s # break; 716s # case G_TYPE_UCHAR: 716s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 716s # break; 716s # case G_TYPE_INT: 716s # ret = (g_value_get_int (a) == g_value_get_int (b)); 716s # break; 716s # case G_TYPE_UINT: 716s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 716s # break; 716s # case G_TYPE_INT64: 716s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 716s # break; 716s # case G_TYPE_UINT64: 716s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 716s # break; 716s # case G_TYPE_DOUBLE: 716s # { 716s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 716s # gdouble da = g_value_get_double (a); 716s # gdouble db = g_value_get_double (b); 716s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 716s # } 716s # break; 716s # case G_TYPE_STRING: 716s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 716s # break; 716s # case G_TYPE_VARIANT: 716s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 716s # break; 716s # default: 716s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 716s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 716s # else 716s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 716s # break; 716s # } 716s # return ret; 716s # } 716s # 716s # /* ------------------------------------------------------------------------ 716s # * Code for interface GoodTypes 716s # * ------------------------------------------------------------------------ 716s # */ 716s # 716s # /** 716s # * SECTION:GoodTypes 716s # * @title: GoodTypes 716s # * @short_description: Generated C code for the GoodTypes D-Bus interface 716s # * 716s # * This section contains code for working with the GoodTypes D-Bus interface in C. 716s # */ 716s # 716s # /* ---- Introspection data for GoodTypes ---- */ 716s # 716s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodPropertyType", 716s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 716s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 716s # NULL 716s # }, 716s # "good-property-type", 716s # FALSE, 716s # TRUE 716s # }; 716s # 716s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 716s # { 716s # &_good_types_property_info_good_property_type.parent_struct, 716s # NULL 716s # }; 716s # 716s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodTypes", 716s # NULL, 716s # NULL, 716s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 716s # NULL 716s # }, 716s # "good-types", 716s # }; 716s # 716s # 716s # /** 716s # * good_types_interface_info: 716s # * 716s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 716s # * 716s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 716s # */ 716s # GDBusInterfaceInfo * 716s # good_types_interface_info (void) 716s # { 716s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 716s # } 716s # 716s # /** 716s # * good_types_override_properties: 716s # * @klass: The class structure for a #GObject derived class. 716s # * @property_id_begin: The property id to assign to the first overridden property. 716s # * 716s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 716s # * The properties are overridden in the order they are defined. 716s # * 716s # * Returns: The last property id. 716s # */ 716s # guint 716s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 716s # { 716s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 716s # return property_id_begin - 1; 716s # } 716s # 716s # 716s # 716s # /** 716s # * GoodTypes: 716s # * 716s # * Abstract interface type for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # /** 716s # * GoodTypesIface: 716s # * @parent_iface: The parent interface. 716s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 716s # * 716s # * Virtual table for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # typedef GoodTypesIface GoodTypesInterface; 716s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 716s # 716s # static void 716s # good_types_default_init (GoodTypesIface *iface) 716s # { 716s # /* GObject properties for D-Bus properties: */ 716s # /** 716s # * GoodTypes:good-property-type: 716s # * 716s # * Represents the D-Bus property "GoodPropertyType". 716s # * 716s # * 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. 716s # */ 716s # g_object_interface_install_property (iface, 716s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 716s # } 716s # 716s # /** 716s # * good_types_get_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets the value of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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. 716s # * 716s # * 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. 716s # */ 716s # GVariant * 716s # good_types_get_good_property_type (GoodTypes *object) 716s # { 716s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 716s # 716s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 716s # } 716s # 716s # /** 716s # * good_types_dup_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets a copy of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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(). 716s # */ 716s # GVariant * 716s # good_types_dup_good_property_type (GoodTypes *object) 716s # { 716s # GVariant *value; 716s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 716s # return value; 716s # } 716s # 716s # /** 716s # * good_types_set_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * @value: The value to set. 716s # * 716s # * Sets the "GoodPropertyType" D-Bus property to @value. 716s # * 716s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 716s # */ 716s # void 716s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 716s # { 716s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesProxy: 716s # * 716s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesProxyClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesProxy. 716s # */ 716s # 716s # struct _GoodTypesProxyPrivate 716s # { 716s # GData *qdata; 716s # }; 716s # 716s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_ADD_PRIVATE (GoodTypesProxy) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_proxy_finalize (GObject *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # g_datalist_clear (&proxy->priv->qdata); 716s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_proxy_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 716s # if (info->use_gvariant) 716s # { 716s # g_value_set_variant (value, variant); 716s # } 716s # else 716s # { 716s # if (variant != NULL) 716s # g_dbus_gvariant_to_gvalue (variant, value); 716s # } 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 716s # GAsyncResult *res, 716s # gpointer user_data) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info = user_data; 716s # GError *error; 716s # GVariant *_ret; 716s # error = NULL; 716s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 716s # if (!_ret) 716s # { 716s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 716s # info->parent_struct.name, 716s # error->message, g_quark_to_string (error->domain), error->code); 716s # g_error_free (error); 716s # } 716s # else 716s # { 716s # g_variant_unref (_ret); 716s # } 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_dbus_proxy_call (G_DBUS_PROXY (object), 716s # "org.freedesktop.DBus.Properties.Set", 716s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_signal (GDBusProxy *proxy, 716s # const gchar *sender_name G_GNUC_UNUSED, 716s # const gchar *signal_name, 716s # GVariant *parameters) 716s # { 716s # _ExtendedGDBusSignalInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # gsize n; 716s # guint signal_id; 716s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 716s # if (info == NULL) 716s # return; 716s # num_params = g_variant_n_children (parameters); 716s # paramv = g_new0 (GValue, num_params + 1); 716s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[0], proxy); 716s # g_variant_iter_init (&iter, parameters); 716s # n = 1; 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_signal_emitv (paramv, signal_id, 0, NULL); 716s # for (n = 0; n < num_params + 1; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 716s # GVariant *changed_properties, 716s # const gchar *const *invalidated_properties) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 716s # guint n; 716s # const gchar *key; 716s # GVariantIter *iter; 716s # _ExtendedGDBusPropertyInfo *info; 716s # g_variant_get (changed_properties, "a{sv}", &iter); 716s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 716s # g_datalist_remove_data (&proxy->priv->qdata, key); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # g_variant_iter_free (iter); 716s # for (n = 0; invalidated_properties[n] != NULL; n++) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 716s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # } 716s # 716s # static GVariant * 716s # good_types_proxy_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # GVariant *variant; 716s # GVariant *value = NULL; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 716s # value = variant; 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_proxy_init (GoodTypesProxy *proxy) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # proxy->priv = good_types_proxy_get_instance_private (proxy); 716s # #else 716s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 716s # #endif 716s # 716s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 716s # } 716s # 716s # static void 716s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusProxyClass *proxy_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_proxy_finalize; 716s # gobject_class->get_property = good_types_proxy_get_property; 716s # gobject_class->set_property = good_types_proxy_set_property; 716s # 716s # proxy_class = G_DBUS_PROXY_CLASS (klass); 716s # proxy_class->g_signal = good_types_proxy_g_signal; 716s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_proxy_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_sync: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_sync ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /** 716s # * good_types_proxy_new_for_bus: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new_for_bus ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new_for_bus(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_sync: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_sync ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesSkeleton: 716s # * 716s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesSkeletonClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesSkeleton. 716s # */ 716s # 716s # struct _GoodTypesSkeletonPrivate 716s # { 716s # GValue *properties; 716s # GList *changed_properties; 716s # GSource *changed_properties_idle_source; 716s # GMainContext *context; 716s # GMutex lock; 716s # }; 716s # 716s # static void 716s # _good_types_skeleton_handle_method_call ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name, 716s # const gchar *method_name, 716s # GVariant *parameters, 716s # GDBusMethodInvocation *invocation, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # _ExtendedGDBusMethodInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # guint num_extra; 716s # gsize n; 716s # guint signal_id; 716s # GValue return_value = G_VALUE_INIT; 716s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 716s # g_assert (info != NULL); 716s # num_params = g_variant_n_children (parameters); 716s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 716s # n = 0; 716s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[n++], skeleton); 716s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 716s # g_value_set_object (¶mv[n++], invocation); 716s # if (info->pass_fdlist) 716s # { 716s # #ifdef G_OS_UNIX 716s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 716s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 716s # #else 716s # g_assert_not_reached (); 716s # #endif 716s # } 716s # g_variant_iter_init (&iter, parameters); 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_value_init (&return_value, G_TYPE_BOOLEAN); 716s # g_signal_emitv (paramv, signal_id, 0, &return_value); 716s # if (!g_value_get_boolean (&return_value)) 716s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 716s # g_value_unset (&return_value); 716s # for (n = 0; n < num_params + num_extra; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static GVariant * 716s # _good_types_skeleton_handle_get_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # GVariant *ret; 716s # ret = NULL; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # g_value_init (&value, pspec->value_type); 716s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_value_unset (&value); 716s # } 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _good_types_skeleton_handle_set_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GVariant *variant, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # gboolean ret; 716s # ret = FALSE; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # if (info->use_gvariant) 716s # g_value_set_variant (&value, variant); 716s # else 716s # g_dbus_gvariant_to_gvalue (variant, &value); 716s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # g_value_unset (&value); 716s # ret = TRUE; 716s # } 716s # return ret; 716s # } 716s # 716s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 716s # { 716s # _good_types_skeleton_handle_method_call, 716s # _good_types_skeleton_handle_get_property, 716s # _good_types_skeleton_handle_set_property, 716s # {NULL} 716s # }; 716s # 716s # static GDBusInterfaceInfo * 716s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return good_types_interface_info (); 716s # } 716s # 716s # static GDBusInterfaceVTable * 716s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # 716s # GVariantBuilder builder; 716s # guint n; 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # if (_good_types_interface_info.parent_struct.properties == NULL) 716s # goto out; 716s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 716s # { 716s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 716s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 716s # { 716s # GVariant *value; 716s # 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); 716s # if (value != NULL) 716s # { 716s # g_variant_take_ref (value); 716s # g_variant_builder_add (&builder, "{sv}", info->name, value); 716s # g_variant_unref (value); 716s # } 716s # } 716s # } 716s # out: 716s # return g_variant_builder_end (&builder); 716s # } 716s # 716s # static gboolean _good_types_emit_changed (gpointer user_data); 716s # 716s # static void 716s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # gboolean emit_changed = FALSE; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # { 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # emit_changed = TRUE; 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # 716s # if (emit_changed) 716s # _good_types_emit_changed (skeleton); 716s # } 716s # 716s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_ADD_PRIVATE (GoodTypesSkeleton) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_skeleton_finalize (GObject *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # guint n; 716s # for (n = 0; n < 1; n++) 716s # g_value_unset (&skeleton->priv->properties[n]); 716s # g_free (skeleton->priv->properties); 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # g_main_context_unref (skeleton->priv->context); 716s # g_mutex_clear (&skeleton->priv->lock); 716s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static gboolean 716s # _good_types_emit_changed (gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GList *l; 716s # GVariantBuilder builder; 716s # GVariantBuilder invalidated_builder; 716s # guint num_changes; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 716s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *cp = l->data; 716s # GVariant *variant; 716s # const GValue *cur_value; 716s # 716s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 716s # if (!_g_value_equal (cur_value, &cp->orig_value)) 716s # { 716s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 716s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 716s # g_variant_unref (variant); 716s # num_changes++; 716s # } 716s # } 716s # if (num_changes > 0) 716s # { 716s # GList *connections, *ll; 716s # GVariant *signal_variant; 716s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 716s # &builder, &invalidated_builder)); 716s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 716s # for (ll = connections; ll != NULL; ll = ll->next) 716s # { 716s # GDBusConnection *connection = ll->data; 716s # 716s # g_dbus_connection_emit_signal (connection, 716s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 716s # "org.freedesktop.DBus.Properties", 716s # "PropertiesChanged", 716s # signal_variant, 716s # NULL); 716s # } 716s # g_variant_unref (signal_variant); 716s # g_list_free_full (connections, g_object_unref); 716s # } 716s # else 716s # { 716s # g_variant_builder_clear (&builder); 716s # g_variant_builder_clear (&invalidated_builder); 716s # } 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # skeleton->priv->changed_properties = NULL; 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return FALSE; 716s # } 716s # 716s # static void 716s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 716s # { 716s # ChangedProperty *cp; 716s # GList *l; 716s # cp = NULL; 716s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *i_cp = l->data; 716s # if (i_cp->info == info) 716s # { 716s # cp = i_cp; 716s # break; 716s # } 716s # } 716s # if (cp == NULL) 716s # { 716s # cp = g_new0 (ChangedProperty, 1); 716s # cp->prop_id = prop_id; 716s # cp->info = info; 716s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 716s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 716s # g_value_copy (orig_value, &cp->orig_value); 716s # } 716s # } 716s # 716s # static void 716s # good_types_skeleton_notify (GObject *object, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties != NULL && 716s # skeleton->priv->changed_properties_idle_source == NULL) 716s # { 716s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 716s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 716s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 716s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 716s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 716s # g_source_unref (skeleton->priv->changed_properties_idle_source); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static void 716s # good_types_skeleton_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_object_freeze_notify (object); 716s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 716s # { 716s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 716s # info->emits_changed_signal) 716s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 716s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 716s # g_object_notify_by_pspec (object, pspec); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # g_object_thaw_notify (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 716s # #else 716s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 716s # #endif 716s # 716s # g_mutex_init (&skeleton->priv->lock); 716s # skeleton->priv->context = g_main_context_ref_thread_default (); 716s # skeleton->priv->properties = g_new0 (GValue, 1); 716s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # GVariant *value; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusInterfaceSkeletonClass *skeleton_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_skeleton_finalize; 716s # gobject_class->get_property = good_types_skeleton_get_property; 716s # gobject_class->set_property = good_types_skeleton_set_property; 716s # gobject_class->notify = good_types_skeleton_notify; 716s # 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 716s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 716s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 716s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 716s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_skeleton_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_skeleton_new: 716s # * 716s # * Creates a skeleton object for the D-Bus interface GoodTypes. 716s # * 716s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 716s # */ 716s # GoodTypes * 716s # good_types_skeleton_new (void) 716s # { 716s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 716s # } 716s # /tmp/tmpoadtc2i1/tmptn5wnoyg.xml: 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoadtc2i1/tmptn5wnoyg.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s # #ifdef G_OS_UNIX 716s # # include 716s # #endif 716s # 716s # #ifdef G_ENABLE_DEBUG 716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 716s # #else /* !G_ENABLE_DEBUG */ 716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 716s # * Do not access GValues directly in your code. Instead, use the 716s # * g_value_get_*() functions 716s # */ 716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 716s # #endif /* !G_ENABLE_DEBUG */ 716s # 716s # typedef struct 716s # { 716s # GDBusArgInfo parent_struct; 716s # gboolean use_gvariant; 716s # } _ExtendedGDBusArgInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusMethodInfo parent_struct; 716s # const gchar *signal_name; 716s # gboolean pass_fdlist; 716s # } _ExtendedGDBusMethodInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusSignalInfo parent_struct; 716s # const gchar *signal_name; 716s # } _ExtendedGDBusSignalInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusPropertyInfo parent_struct; 716s # const gchar *hyphen_name; 716s # guint use_gvariant : 1; 716s # guint emits_changed_signal : 1; 716s # } _ExtendedGDBusPropertyInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusInterfaceInfo parent_struct; 716s # const gchar *hyphen_name; 716s # } _ExtendedGDBusInterfaceInfo; 716s # 716s # typedef struct 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # guint prop_id; 716s # GValue orig_value; /* the value before the change */ 716s # } ChangedProperty; 716s # 716s # static void 716s # _changed_property_free (ChangedProperty *data) 716s # { 716s # g_value_unset (&data->orig_value); 716s # g_free (data); 716s # } 716s # 716s # static gboolean 716s # _g_strv_equal0 (gchar **a, gchar **b) 716s # { 716s # gboolean ret = FALSE; 716s # guint n; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # if (g_strv_length (a) != g_strv_length (b)) 716s # goto out; 716s # for (n = 0; a[n] != NULL; n++) 716s # if (g_strcmp0 (a[n], b[n]) != 0) 716s # goto out; 716s # ret = TRUE; 716s # out: 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _g_variant_equal0 (GVariant *a, GVariant *b) 716s # { 716s # gboolean ret = FALSE; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # ret = g_variant_equal (a, b); 716s # out: 716s # return ret; 716s # } 716s # 716s # G_GNUC_UNUSED static gboolean 716s # _g_value_equal (const GValue *a, const GValue *b) 716s # { 716s # gboolean ret = FALSE; 716s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 716s # switch (G_VALUE_TYPE (a)) 716s # { 716s # case G_TYPE_BOOLEAN: 716s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 716s # break; 716s # case G_TYPE_UCHAR: 716s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 716s # break; 716s # case G_TYPE_INT: 716s # ret = (g_value_get_int (a) == g_value_get_int (b)); 716s # break; 716s # case G_TYPE_UINT: 716s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 716s # break; 716s # case G_TYPE_INT64: 716s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 716s # break; 716s # case G_TYPE_UINT64: 716s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 716s # break; 716s # case G_TYPE_DOUBLE: 716s # { 716s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 716s # gdouble da = g_value_get_double (a); 716s # gdouble db = g_value_get_double (b); 716s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 716s # } 716s # break; 716s # case G_TYPE_STRING: 716s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 716s # break; 716s # case G_TYPE_VARIANT: 716s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 716s # break; 716s # default: 716s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 716s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 716s # else 716s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 716s # break; 716s # } 716s # return ret; 716s # } 716s # 716s # /* ------------------------------------------------------------------------ 716s # * Code for interface GoodTypes 716s # * ------------------------------------------------------------------------ 716s # */ 716s # 716s # /** 716s # * SECTION:GoodTypes 716s # * @title: GoodTypes 716s # * @short_description: Generated C code for the GoodTypes D-Bus interface 716s # * 716s # * This section contains code for working with the GoodTypes D-Bus interface in C. 716s # */ 716s # 716s # /* ---- Introspection data for GoodTypes ---- */ 716s # 716s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodPropertyType", 716s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 716s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 716s # NULL 716s # }, 716s # "good-property-type", 716s # FALSE, 716s # TRUE 716s # }; 716s # 716s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 716s # { 716s # &_good_types_property_info_good_property_type.parent_struct, 716s # NULL 716s # }; 716s # 716s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 716s # { 716s # { 716s # -1, 716s # (gchar *) "GoodTypes", 716s # NULL, 716s # NULL, 716s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 716s # NULL 716s # }, 716s # "good-types", 716s # }; 716s # 716s # 716s # /** 716s # * good_types_interface_info: 716s # * 716s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 716s # * 716s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 716s # */ 716s # GDBusInterfaceInfo * 716s # good_types_interface_info (void) 716s # { 716s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 716s # } 716s # 716s # /** 716s # * good_types_override_properties: 716s # * @klass: The class structure for a #GObject derived class. 716s # * @property_id_begin: The property id to assign to the first overridden property. 716s # * 716s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 716s # * The properties are overridden in the order they are defined. 716s # * 716s # * Returns: The last property id. 716s # */ 716s # guint 716s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 716s # { 716s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 716s # return property_id_begin - 1; 716s # } 716s # 716s # 716s # 716s # /** 716s # * GoodTypes: 716s # * 716s # * Abstract interface type for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # /** 716s # * GoodTypesIface: 716s # * @parent_iface: The parent interface. 716s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 716s # * 716s # * Virtual table for the D-Bus interface GoodTypes. 716s # */ 716s # 716s # typedef GoodTypesIface GoodTypesInterface; 716s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 716s # 716s # static void 716s # good_types_default_init (GoodTypesIface *iface) 716s # { 716s # /* GObject properties for D-Bus properties: */ 716s # /** 716s # * GoodTypes:good-property-type: 716s # * 716s # * Represents the D-Bus property "GoodPropertyType". 716s # * 716s # * 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. 716s # */ 716s # g_object_interface_install_property (iface, 716s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 716s # } 716s # 716s # /** 716s # * good_types_get_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets the value of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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. 716s # * 716s # * 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. 716s # */ 716s # GVariant * 716s # good_types_get_good_property_type (GoodTypes *object) 716s # { 716s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 716s # 716s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 716s # } 716s # 716s # /** 716s # * good_types_dup_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * 716s # * Gets a copy of the "GoodPropertyType" D-Bus property. 716s # * 716s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 716s # * 716s # * 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(). 716s # */ 716s # GVariant * 716s # good_types_dup_good_property_type (GoodTypes *object) 716s # { 716s # GVariant *value; 716s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 716s # return value; 716s # } 716s # 716s # /** 716s # * good_types_set_good_property_type: (skip) 716s # * @object: A GoodTypes. 716s # * @value: The value to set. 716s # * 716s # * Sets the "GoodPropertyType" D-Bus property to @value. 716s # * 716s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 716s # */ 716s # void 716s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 716s # { 716s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesProxy: 716s # * 716s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesProxyClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesProxy. 716s # */ 716s # 716s # struct _GoodTypesProxyPrivate 716s # { 716s # GData *qdata; 716s # }; 716s # 716s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_ADD_PRIVATE (GoodTypesProxy) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_proxy_finalize (GObject *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # g_datalist_clear (&proxy->priv->qdata); 716s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_proxy_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 716s # if (info->use_gvariant) 716s # { 716s # g_value_set_variant (value, variant); 716s # } 716s # else 716s # { 716s # if (variant != NULL) 716s # g_dbus_gvariant_to_gvalue (variant, value); 716s # } 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 716s # GAsyncResult *res, 716s # gpointer user_data) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info = user_data; 716s # GError *error; 716s # GVariant *_ret; 716s # error = NULL; 716s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 716s # if (!_ret) 716s # { 716s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 716s # info->parent_struct.name, 716s # error->message, g_quark_to_string (error->domain), error->code); 716s # g_error_free (error); 716s # } 716s # else 716s # { 716s # g_variant_unref (_ret); 716s # } 716s # } 716s # 716s # static void 716s # good_types_proxy_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GVariant *variant; 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_dbus_proxy_call (G_DBUS_PROXY (object), 716s # "org.freedesktop.DBus.Properties.Set", 716s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 716s # g_variant_unref (variant); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_signal (GDBusProxy *proxy, 716s # const gchar *sender_name G_GNUC_UNUSED, 716s # const gchar *signal_name, 716s # GVariant *parameters) 716s # { 716s # _ExtendedGDBusSignalInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # gsize n; 716s # guint signal_id; 716s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 716s # if (info == NULL) 716s # return; 716s # num_params = g_variant_n_children (parameters); 716s # paramv = g_new0 (GValue, num_params + 1); 716s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[0], proxy); 716s # g_variant_iter_init (&iter, parameters); 716s # n = 1; 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_signal_emitv (paramv, signal_id, 0, NULL); 716s # for (n = 0; n < num_params + 1; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static void 716s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 716s # GVariant *changed_properties, 716s # const gchar *const *invalidated_properties) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 716s # guint n; 716s # const gchar *key; 716s # GVariantIter *iter; 716s # _ExtendedGDBusPropertyInfo *info; 716s # g_variant_get (changed_properties, "a{sv}", &iter); 716s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 716s # g_datalist_remove_data (&proxy->priv->qdata, key); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # g_variant_iter_free (iter); 716s # for (n = 0; invalidated_properties[n] != NULL; n++) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 716s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # } 716s # 716s # static GVariant * 716s # good_types_proxy_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 716s # GVariant *variant; 716s # GVariant *value = NULL; 716s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 716s # value = variant; 716s # if (variant != NULL) 716s # g_variant_unref (variant); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_proxy_init (GoodTypesProxy *proxy) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # proxy->priv = good_types_proxy_get_instance_private (proxy); 716s # #else 716s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 716s # #endif 716s # 716s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 716s # } 716s # 716s # static void 716s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusProxyClass *proxy_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_proxy_finalize; 716s # gobject_class->get_property = good_types_proxy_get_property; 716s # gobject_class->set_property = good_types_proxy_set_property; 716s # 716s # proxy_class = G_DBUS_PROXY_CLASS (klass); 716s # proxy_class->g_signal = good_types_proxy_g_signal; 716s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_proxy_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_sync: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_sync ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /** 716s # * good_types_proxy_new_for_bus: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 716s # * 716s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # good_types_proxy_new_for_bus ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with good_types_proxy_new_for_bus(). 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * good_types_proxy_new_for_bus_sync: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # GoodTypes * 716s # good_types_proxy_new_for_bus_sync ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return GOOD_TYPES (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * GoodTypesSkeleton: 716s # * 716s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * GoodTypesSkeletonClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for GoodTypesSkeleton. 716s # */ 716s # 716s # struct _GoodTypesSkeletonPrivate 716s # { 716s # GValue *properties; 716s # GList *changed_properties; 716s # GSource *changed_properties_idle_source; 716s # GMainContext *context; 716s # GMutex lock; 716s # }; 716s # 716s # static void 716s # _good_types_skeleton_handle_method_call ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name, 716s # const gchar *method_name, 716s # GVariant *parameters, 716s # GDBusMethodInvocation *invocation, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # _ExtendedGDBusMethodInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # guint num_extra; 716s # gsize n; 716s # guint signal_id; 716s # GValue return_value = G_VALUE_INIT; 716s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 716s # g_assert (info != NULL); 716s # num_params = g_variant_n_children (parameters); 716s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 716s # n = 0; 716s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 716s # g_value_set_object (¶mv[n++], skeleton); 716s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 716s # g_value_set_object (¶mv[n++], invocation); 716s # if (info->pass_fdlist) 716s # { 716s # #ifdef G_OS_UNIX 716s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 716s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 716s # #else 716s # g_assert_not_reached (); 716s # #endif 716s # } 716s # g_variant_iter_init (&iter, parameters); 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 716s # g_value_init (&return_value, G_TYPE_BOOLEAN); 716s # g_signal_emitv (paramv, signal_id, 0, &return_value); 716s # if (!g_value_get_boolean (&return_value)) 716s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 716s # g_value_unset (&return_value); 716s # for (n = 0; n < num_params + num_extra; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static GVariant * 716s # _good_types_skeleton_handle_get_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # GVariant *ret; 716s # ret = NULL; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # g_value_init (&value, pspec->value_type); 716s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_value_unset (&value); 716s # } 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _good_types_skeleton_handle_set_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GVariant *variant, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # gboolean ret; 716s # ret = FALSE; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # if (info->use_gvariant) 716s # g_value_set_variant (&value, variant); 716s # else 716s # g_dbus_gvariant_to_gvalue (variant, &value); 716s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # g_value_unset (&value); 716s # ret = TRUE; 716s # } 716s # return ret; 716s # } 716s # 716s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 716s # { 716s # _good_types_skeleton_handle_method_call, 716s # _good_types_skeleton_handle_get_property, 716s # _good_types_skeleton_handle_set_property, 716s # {NULL} 716s # }; 716s # 716s # static GDBusInterfaceInfo * 716s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return good_types_interface_info (); 716s # } 716s # 716s # static GDBusInterfaceVTable * 716s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # 716s # GVariantBuilder builder; 716s # guint n; 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # if (_good_types_interface_info.parent_struct.properties == NULL) 716s # goto out; 716s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 716s # { 716s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 716s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 716s # { 716s # GVariant *value; 716s # 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); 716s # if (value != NULL) 716s # { 716s # g_variant_take_ref (value); 716s # g_variant_builder_add (&builder, "{sv}", info->name, value); 716s # g_variant_unref (value); 716s # } 716s # } 716s # } 716s # out: 716s # return g_variant_builder_end (&builder); 716s # } 716s # 716s # static gboolean _good_types_emit_changed (gpointer user_data); 716s # 716s # static void 716s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 716s # gboolean emit_changed = FALSE; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # { 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # emit_changed = TRUE; 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # 716s # if (emit_changed) 716s # _good_types_emit_changed (skeleton); 716s # } 716s # 716s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_ADD_PRIVATE (GoodTypesSkeleton) 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 716s # 716s # #endif 716s # static void 716s # good_types_skeleton_finalize (GObject *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # guint n; 716s # for (n = 0; n < 1; n++) 716s # g_value_unset (&skeleton->priv->properties[n]); 716s # g_free (skeleton->priv->properties); 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # g_main_context_unref (skeleton->priv->context); 716s # g_mutex_clear (&skeleton->priv->lock); 716s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_get_property (GObject *object, 716s # guint prop_id, 716s # GValue *value, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static gboolean 716s # _good_types_emit_changed (gpointer user_data) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 716s # GList *l; 716s # GVariantBuilder builder; 716s # GVariantBuilder invalidated_builder; 716s # guint num_changes; 716s # 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 716s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *cp = l->data; 716s # GVariant *variant; 716s # const GValue *cur_value; 716s # 716s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 716s # if (!_g_value_equal (cur_value, &cp->orig_value)) 716s # { 716s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 716s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 716s # g_variant_unref (variant); 716s # num_changes++; 716s # } 716s # } 716s # if (num_changes > 0) 716s # { 716s # GList *connections, *ll; 716s # GVariant *signal_variant; 716s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 716s # &builder, &invalidated_builder)); 716s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 716s # for (ll = connections; ll != NULL; ll = ll->next) 716s # { 716s # GDBusConnection *connection = ll->data; 716s # 716s # g_dbus_connection_emit_signal (connection, 716s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 716s # "org.freedesktop.DBus.Properties", 716s # "PropertiesChanged", 716s # signal_variant, 716s # NULL); 716s # } 716s # g_variant_unref (signal_variant); 716s # g_list_free_full (connections, g_object_unref); 716s # } 716s # else 716s # { 716s # g_variant_builder_clear (&builder); 716s # g_variant_builder_clear (&invalidated_builder); 716s # } 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # skeleton->priv->changed_properties = NULL; 716s # skeleton->priv->changed_properties_idle_source = NULL; 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return FALSE; 716s # } 716s # 716s # static void 716s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 716s # { 716s # ChangedProperty *cp; 716s # GList *l; 716s # cp = NULL; 716s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 716s # { 716s # ChangedProperty *i_cp = l->data; 716s # if (i_cp->info == info) 716s # { 716s # cp = i_cp; 716s # break; 716s # } 716s # } 716s # if (cp == NULL) 716s # { 716s # cp = g_new0 (ChangedProperty, 1); 716s # cp->prop_id = prop_id; 716s # cp->info = info; 716s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 716s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 716s # g_value_copy (orig_value, &cp->orig_value); 716s # } 716s # } 716s # 716s # static void 716s # good_types_skeleton_notify (GObject *object, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_mutex_lock (&skeleton->priv->lock); 716s # if (skeleton->priv->changed_properties != NULL && 716s # skeleton->priv->changed_properties_idle_source == NULL) 716s # { 716s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 716s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 716s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 716s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 716s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 716s # g_source_unref (skeleton->priv->changed_properties_idle_source); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # } 716s # 716s # static void 716s # good_types_skeleton_set_property (GObject *object, 716s # guint prop_id, 716s # const GValue *value, 716s # GParamSpec *pspec) 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # g_assert (prop_id != 0 && prop_id - 1 < 1); 716s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # g_object_freeze_notify (object); 716s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 716s # { 716s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 716s # info->emits_changed_signal) 716s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 716s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 716s # g_object_notify_by_pspec (object, pspec); 716s # } 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # g_object_thaw_notify (object); 716s # } 716s # 716s # static void 716s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 716s # #else 716s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 716s # #endif 716s # 716s # g_mutex_init (&skeleton->priv->lock); 716s # skeleton->priv->context = g_main_context_ref_thread_default (); 716s # skeleton->priv->properties = g_new0 (GValue, 1); 716s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 716s # } 716s # 716s # static GVariant * 716s # good_types_skeleton_get_good_property_type (GoodTypes *object) 716s # { 716s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 716s # GVariant *value; 716s # g_mutex_lock (&skeleton->priv->lock); 716s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 716s # g_mutex_unlock (&skeleton->priv->lock); 716s # return value; 716s # } 716s # 716s # static void 716s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusInterfaceSkeletonClass *skeleton_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = good_types_skeleton_finalize; 716s # gobject_class->get_property = good_types_skeleton_get_property; 716s # gobject_class->set_property = good_types_skeleton_set_property; 716s # gobject_class->notify = good_types_skeleton_notify; 716s # 716s # 716s # good_types_override_properties (gobject_class, 1); 716s # 716s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 716s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 716s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 716s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 716s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # good_types_skeleton_iface_init (GoodTypesIface *iface) 716s # { 716s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 716s # } 716s # 716s # /** 716s # * good_types_skeleton_new: 716s # * 716s # * Creates a skeleton object for the D-Bus interface GoodTypes. 716s # * 716s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 716s # */ 716s # GoodTypes * 716s # good_types_skeleton_new (void) 716s # { 716s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 716s # } 716s ok 3 __main__.TestCodegen.test_empty_interface_body 716s # tmpdir: /tmp/tmpr3n_355k 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpr3n_355k/tmpq4ixx2t9.xml: 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr3n_355k/tmpq4ixx2t9.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s # #ifdef G_OS_UNIX 716s # # include 716s # #endif 716s # 716s # #ifdef G_ENABLE_DEBUG 716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 716s # #else /* !G_ENABLE_DEBUG */ 716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 716s # * Do not access GValues directly in your code. Instead, use the 716s # * g_value_get_*() functions 716s # */ 716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 716s # #endif /* !G_ENABLE_DEBUG */ 716s # 716s # typedef struct 716s # { 716s # GDBusArgInfo parent_struct; 716s # gboolean use_gvariant; 716s # } _ExtendedGDBusArgInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusMethodInfo parent_struct; 716s # const gchar *signal_name; 716s # gboolean pass_fdlist; 716s # } _ExtendedGDBusMethodInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusSignalInfo parent_struct; 716s # const gchar *signal_name; 716s # } _ExtendedGDBusSignalInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusPropertyInfo parent_struct; 716s # const gchar *hyphen_name; 716s # guint use_gvariant : 1; 716s # guint emits_changed_signal : 1; 716s # } _ExtendedGDBusPropertyInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusInterfaceInfo parent_struct; 716s # const gchar *hyphen_name; 716s # } _ExtendedGDBusInterfaceInfo; 716s # 716s # typedef struct 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # guint prop_id; 716s # GValue orig_value; /* the value before the change */ 716s # } ChangedProperty; 716s # 716s # static void 716s # _changed_property_free (ChangedProperty *data) 716s # { 716s # g_value_unset (&data->orig_value); 716s # g_free (data); 716s # } 716s # 716s # static gboolean 716s # _g_strv_equal0 (gchar **a, gchar **b) 716s # { 716s # gboolean ret = FALSE; 716s # guint n; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # if (g_strv_length (a) != g_strv_length (b)) 716s # goto out; 716s # for (n = 0; a[n] != NULL; n++) 716s # if (g_strcmp0 (a[n], b[n]) != 0) 716s # goto out; 716s # ret = TRUE; 716s # out: 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _g_variant_equal0 (GVariant *a, GVariant *b) 716s # { 716s # gboolean ret = FALSE; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # ret = g_variant_equal (a, b); 716s # out: 716s # return ret; 716s # } 716s # 716s # G_GNUC_UNUSED static gboolean 716s # _g_value_equal (const GValue *a, const GValue *b) 716s # { 716s # gboolean ret = FALSE; 716s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 716s # switch (G_VALUE_TYPE (a)) 716s # { 716s # case G_TYPE_BOOLEAN: 716s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 716s # break; 716s # case G_TYPE_UCHAR: 716s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 716s # break; 716s # case G_TYPE_INT: 716s # ret = (g_value_get_int (a) == g_value_get_int (b)); 716s # break; 716s # case G_TYPE_UINT: 716s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 716s # break; 716s # case G_TYPE_INT64: 716s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 716s # break; 716s # case G_TYPE_UINT64: 716s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 716s # break; 716s # case G_TYPE_DOUBLE: 716s # { 716s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 716s # gdouble da = g_value_get_double (a); 716s # gdouble db = g_value_get_double (b); 716s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 716s # } 716s # break; 716s # case G_TYPE_STRING: 716s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 716s # break; 716s # case G_TYPE_VARIANT: 716s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 716s # break; 716s # default: 716s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 716s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 716s # else 716s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 716s # break; 716s # } 716s # return ret; 716s # } 716s ok 4 __main__.TestCodegen.test_empty_interface_header 716s # tmpdir: /tmp/tmph3dywqn1 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmph3dywqn1/tmp2sebuyzg.xml: 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph3dywqn1/tmp2sebuyzg.xml', '--output', '-', '--header'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifndef __STDOUT__ 716s # #define __STDOUT__ 716s # 716s # #include 716s # 716s # G_BEGIN_DECLS 716s # 716s # 716s # G_END_DECLS 716s # 716s # #endif /* __STDOUT__ */ 716s ok 5 __main__.TestCodegen.test_empty_interface_info_body 716s # tmpdir: /tmp/tmp2nzlx2mi 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmp2nzlx2mi/tmpwz8b2gea.xml: 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2nzlx2mi/tmpwz8b2gea.xml', '--output', '-', '--interface-info-body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s ok 6 __main__.TestCodegen.test_empty_interface_info_header 716s # tmpdir: /tmp/tmpvna7d6j5 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpvna7d6j5/tmp4evh1kyx.xml: 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvna7d6j5/tmp4evh1kyx.xml', '--output', '-', '--interface-info-header'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifndef __STDOUT__ 716s # #define __STDOUT__ 716s # 716s # #include 716s # 716s # G_BEGIN_DECLS 716s # 716s # 716s # G_END_DECLS 716s # 716s # #endif /* __STDOUT__ */ 716s ok 7 __main__.TestCodegen.test_generate_docbook 716s # tmpdir: /tmp/tmpad8jnhu7 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpad8jnhu7/tmpfuyuj8y5.xml: 716s # 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpad8jnhu7/tmpfuyuj8y5.xml', '--generate-docbook', 'test'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: 716s ok 8 __main__.TestCodegen.test_generate_md 716s # tmpdir: /tmp/tmpcecov54y 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpcecov54y/tmpcyve8tsm.xml: 716s # 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcecov54y/tmpcyve8tsm.xml', '--generate-md', 'test'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: 716s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 716s # tmpdir: /tmp/tmpsk4r0zqi 716s # codegen: /usr/bin/gdbus-codegen 716s # /tmp/tmpsk4r0zqi/tmp1xr90zke.xml: 716s # 716s # 716s # 716s # 716s # 716s # 716s # 716s # 716s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsk4r0zqi/tmp1xr90zke.xml', '--output', '-', '--body'] 716s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 716s # Output: /* 716s # * This file is generated by gdbus-codegen, do not modify it. 716s # * 716s # * The license of this code is the same as for the D-Bus interface description 716s # * it was derived from. Note that it links to GLib, so must comply with the 716s # * LGPL linking clauses. 716s # */ 716s # 716s # #ifdef HAVE_CONFIG_H 716s # # include "config.h" 716s # #endif 716s # 716s # #include 716s # #ifdef G_OS_UNIX 716s # # include 716s # #endif 716s # 716s # #ifdef G_ENABLE_DEBUG 716s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 716s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 716s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 716s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 716s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 716s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 716s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 716s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 716s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 716s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 716s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 716s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 716s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 716s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 716s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 716s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 716s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 716s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 716s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 716s # #else /* !G_ENABLE_DEBUG */ 716s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 716s # * Do not access GValues directly in your code. Instead, use the 716s # * g_value_get_*() functions 716s # */ 716s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 716s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 716s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 716s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 716s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 716s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 716s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 716s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 716s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 716s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 716s # #endif /* !G_ENABLE_DEBUG */ 716s # 716s # typedef struct 716s # { 716s # GDBusArgInfo parent_struct; 716s # gboolean use_gvariant; 716s # } _ExtendedGDBusArgInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusMethodInfo parent_struct; 716s # const gchar *signal_name; 716s # gboolean pass_fdlist; 716s # } _ExtendedGDBusMethodInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusSignalInfo parent_struct; 716s # const gchar *signal_name; 716s # } _ExtendedGDBusSignalInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusPropertyInfo parent_struct; 716s # const gchar *hyphen_name; 716s # guint use_gvariant : 1; 716s # guint emits_changed_signal : 1; 716s # } _ExtendedGDBusPropertyInfo; 716s # 716s # typedef struct 716s # { 716s # GDBusInterfaceInfo parent_struct; 716s # const gchar *hyphen_name; 716s # } _ExtendedGDBusInterfaceInfo; 716s # 716s # typedef struct 716s # { 716s # const _ExtendedGDBusPropertyInfo *info; 716s # guint prop_id; 716s # GValue orig_value; /* the value before the change */ 716s # } ChangedProperty; 716s # 716s # static void 716s # _changed_property_free (ChangedProperty *data) 716s # { 716s # g_value_unset (&data->orig_value); 716s # g_free (data); 716s # } 716s # 716s # static gboolean 716s # _g_strv_equal0 (gchar **a, gchar **b) 716s # { 716s # gboolean ret = FALSE; 716s # guint n; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # if (g_strv_length (a) != g_strv_length (b)) 716s # goto out; 716s # for (n = 0; a[n] != NULL; n++) 716s # if (g_strcmp0 (a[n], b[n]) != 0) 716s # goto out; 716s # ret = TRUE; 716s # out: 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _g_variant_equal0 (GVariant *a, GVariant *b) 716s # { 716s # gboolean ret = FALSE; 716s # if (a == NULL && b == NULL) 716s # { 716s # ret = TRUE; 716s # goto out; 716s # } 716s # if (a == NULL || b == NULL) 716s # goto out; 716s # ret = g_variant_equal (a, b); 716s # out: 716s # return ret; 716s # } 716s # 716s # G_GNUC_UNUSED static gboolean 716s # _g_value_equal (const GValue *a, const GValue *b) 716s # { 716s # gboolean ret = FALSE; 716s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 716s # switch (G_VALUE_TYPE (a)) 716s # { 716s # case G_TYPE_BOOLEAN: 716s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 716s # break; 716s # case G_TYPE_UCHAR: 716s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 716s # break; 716s # case G_TYPE_INT: 716s # ret = (g_value_get_int (a) == g_value_get_int (b)); 716s # break; 716s # case G_TYPE_UINT: 716s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 716s # break; 716s # case G_TYPE_INT64: 716s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 716s # break; 716s # case G_TYPE_UINT64: 716s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 716s # break; 716s # case G_TYPE_DOUBLE: 716s # { 716s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 716s # gdouble da = g_value_get_double (a); 716s # gdouble db = g_value_get_double (b); 716s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 716s # } 716s # break; 716s # case G_TYPE_STRING: 716s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 716s # break; 716s # case G_TYPE_VARIANT: 716s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 716s # break; 716s # default: 716s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 716s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 716s # else 716s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 716s # break; 716s # } 716s # return ret; 716s # } 716s # 716s # static void 716s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 716s # GClosure *closure, 716s # GValue *return_value, 716s # unsigned int n_param_values, 716s # const GValue *param_values, 716s # void *invocation_hint G_GNUC_UNUSED, 716s # void *marshal_data) 716s # { 716s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 716s # (void *data1, 716s # GDBusMethodInvocation *arg_method_invocation, 716s # void *data2); 716s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 716s # GCClosure *cc = (GCClosure*) closure; 716s # void *data1, *data2; 716s # gboolean v_return; 716s # 716s # g_return_if_fail (return_value != NULL); 716s # g_return_if_fail (n_param_values == 2); 716s # 716s # if (G_CCLOSURE_SWAP_DATA (closure)) 716s # { 716s # data1 = closure->data; 716s # data2 = g_value_peek_pointer (param_values + 0); 716s # } 716s # else 716s # { 716s # data1 = g_value_peek_pointer (param_values + 0); 716s # data2 = closure->data; 716s # } 716s # 716s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 716s # (marshal_data ? marshal_data : cc->callback); 716s # 716s # v_return = 716s # callback (data1, 716s # g_marshal_value_peek_object (param_values + 1), 716s # data2); 716s # 716s # g_value_set_boolean (return_value, v_return); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ 716s # * Code for interface org.project.CallableIface 716s # * ------------------------------------------------------------------------ 716s # */ 716s # 716s # /** 716s # * SECTION:OrgProjectCallableIface 716s # * @title: OrgProjectCallableIface 716s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 716s # * 716s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 716s # */ 716s # 716s # /* ---- Introspection data for org.project.CallableIface ---- */ 716s # 716s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 716s # { 716s # { 716s # -1, 716s # (gchar *) "SimpleMethod", 716s # NULL, 716s # NULL, 716s # NULL 716s # }, 716s # "handle-simple-method", 716s # FALSE 716s # }; 716s # 716s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 716s # { 716s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 716s # NULL 716s # }; 716s # 716s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 716s # { 716s # { 716s # -1, 716s # (gchar *) "org.project.CallableIface", 716s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 716s # NULL, 716s # NULL, 716s # NULL 716s # }, 716s # "org-project-callable-iface", 716s # }; 716s # 716s # 716s # /** 716s # * org_project_callable_iface_interface_info: 716s # * 716s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 716s # * 716s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 716s # */ 716s # GDBusInterfaceInfo * 716s # org_project_callable_iface_interface_info (void) 716s # { 716s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_override_properties: 716s # * @klass: The class structure for a #GObject derived class. 716s # * @property_id_begin: The property id to assign to the first overridden property. 716s # * 716s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 716s # * The properties are overridden in the order they are defined. 716s # * 716s # * Returns: The last property id. 716s # */ 716s # guint 716s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 716s # { 716s # return property_id_begin - 1; 716s # } 716s # 716s # 716s # inline static void 716s # org_project_callable_iface_method_marshal_simple_method ( 716s # GClosure *closure, 716s # GValue *return_value, 716s # unsigned int n_param_values, 716s # const GValue *param_values, 716s # void *invocation_hint, 716s # void *marshal_data) 716s # { 716s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 716s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 716s # } 716s # 716s # 716s # /** 716s # * OrgProjectCallableIface: 716s # * 716s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 716s # */ 716s # 716s # /** 716s # * OrgProjectCallableIfaceIface: 716s # * @parent_iface: The parent interface. 716s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 716s # * 716s # * Virtual table for the D-Bus interface org.project.CallableIface. 716s # */ 716s # 716s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 716s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 716s # 716s # static void 716s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 716s # { 716s # /* GObject signals for incoming D-Bus method calls: */ 716s # /** 716s # * OrgProjectCallableIface::handle-simple-method: 716s # * @object: A #OrgProjectCallableIface. 716s # * @invocation: A #GDBusMethodInvocation. 716s # * 716s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 716s # * 716s # * 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. 716s # * 716s # * 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. 716s # */ 716s # g_signal_new ("handle-simple-method", 716s # G_TYPE_FROM_INTERFACE (iface), 716s # G_SIGNAL_RUN_LAST, 716s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 716s # g_signal_accumulator_true_handled, 716s # NULL, 716s # org_project_callable_iface_method_marshal_simple_method, 716s # G_TYPE_BOOLEAN, 716s # 1, 716s # G_TYPE_DBUS_METHOD_INVOCATION); 716s # 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_call_simple_method: 716s # * @proxy: A #OrgProjectCallableIfaceProxy. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 716s # * 716s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 716s # */ 716s # void 716s # org_project_callable_iface_call_simple_method ( 716s # OrgProjectCallableIface *proxy, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 716s # "SimpleMethod", 716s # g_variant_new ("()"), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # cancellable, 716s # callback, 716s # user_data); 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_call_simple_method_finish: 716s # * @proxy: A #OrgProjectCallableIfaceProxy. 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 716s # * @error: Return location for error or %NULL. 716s # * 716s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 716s # * 716s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 716s # */ 716s # gboolean 716s # org_project_callable_iface_call_simple_method_finish ( 716s # OrgProjectCallableIface *proxy, 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GVariant *_ret; 716s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 716s # if (_ret == NULL) 716s # goto _out; 716s # g_variant_get (_ret, 716s # "()"); 716s # g_variant_unref (_ret); 716s # _out: 716s # return _ret != NULL; 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_call_simple_method_sync: 716s # * @proxy: A #OrgProjectCallableIfaceProxy. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL. 716s # * 716s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 716s # * 716s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 716s # */ 716s # gboolean 716s # org_project_callable_iface_call_simple_method_sync ( 716s # OrgProjectCallableIface *proxy, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GVariant *_ret; 716s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 716s # "SimpleMethod", 716s # g_variant_new ("()"), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # cancellable, 716s # error); 716s # if (_ret == NULL) 716s # goto _out; 716s # g_variant_get (_ret, 716s # "()"); 716s # g_variant_unref (_ret); 716s # _out: 716s # return _ret != NULL; 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_complete_simple_method: 716s # * @object: A #OrgProjectCallableIface. 716s # * @invocation: (transfer full): A #GDBusMethodInvocation. 716s # * 716s # * 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. 716s # * 716s # * This method will free @invocation, you cannot use it afterwards. 716s # */ 716s # void 716s # org_project_callable_iface_complete_simple_method ( 716s # OrgProjectCallableIface *object G_GNUC_UNUSED, 716s # GDBusMethodInvocation *invocation) 716s # { 716s # g_dbus_method_invocation_return_value (invocation, 716s # g_variant_new ("()")); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * OrgProjectCallableIfaceProxy: 716s # * 716s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * OrgProjectCallableIfaceProxyClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for #OrgProjectCallableIfaceProxy. 716s # */ 716s # 716s # struct _OrgProjectCallableIfaceProxyPrivate 716s # { 716s # GData *qdata; 716s # }; 716s # 716s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 716s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 716s # 716s # #endif 716s # static void 716s # org_project_callable_iface_proxy_finalize (GObject *object) 716s # { 716s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 716s # g_datalist_clear (&proxy->priv->qdata); 716s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 716s # guint prop_id G_GNUC_UNUSED, 716s # GValue *value G_GNUC_UNUSED, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 716s # guint prop_id G_GNUC_UNUSED, 716s # const GValue *value G_GNUC_UNUSED, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 716s # const gchar *sender_name G_GNUC_UNUSED, 716s # const gchar *signal_name, 716s # GVariant *parameters) 716s # { 716s # _ExtendedGDBusSignalInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # gsize n; 716s # guint signal_id; 716s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 716s # if (info == NULL) 716s # return; 716s # num_params = g_variant_n_children (parameters); 716s # paramv = g_new0 (GValue, num_params + 1); 716s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 716s # g_value_set_object (¶mv[0], proxy); 716s # g_variant_iter_init (&iter, parameters); 716s # n = 1; 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 716s # g_signal_emitv (paramv, signal_id, 0, NULL); 716s # for (n = 0; n < num_params + 1; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 716s # GVariant *changed_properties, 716s # const gchar *const *invalidated_properties) 716s # { 716s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 716s # guint n; 716s # const gchar *key; 716s # GVariantIter *iter; 716s # _ExtendedGDBusPropertyInfo *info; 716s # g_variant_get (changed_properties, "a{sv}", &iter); 716s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 716s # g_datalist_remove_data (&proxy->priv->qdata, key); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # g_variant_iter_free (iter); 716s # for (n = 0; invalidated_properties[n] != NULL; n++) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 716s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 716s # #else 716s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 716s # #endif 716s # 716s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusProxyClass *proxy_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 716s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 716s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 716s # 716s # proxy_class = G_DBUS_PROXY_CLASS (klass); 716s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 716s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 716s # * 716s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # org_project_callable_iface_proxy_new ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 716s # * 716s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectCallableIface * 716s # org_project_callable_iface_proxy_new_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return ORG_PROJECT_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new_sync: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectCallableIface * 716s # org_project_callable_iface_proxy_new_sync ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return ORG_PROJECT_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new_for_bus: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 716s # * 716s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # org_project_callable_iface_proxy_new_for_bus ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new_for_bus_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 716s # * 716s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectCallableIface * 716s # org_project_callable_iface_proxy_new_for_bus_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return ORG_PROJECT_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_proxy_new_for_bus_sync: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectCallableIface * 716s # org_project_callable_iface_proxy_new_for_bus_sync ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return ORG_PROJECT_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * OrgProjectCallableIfaceSkeleton: 716s # * 716s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * OrgProjectCallableIfaceSkeletonClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for #OrgProjectCallableIfaceSkeleton. 716s # */ 716s # 716s # struct _OrgProjectCallableIfaceSkeletonPrivate 716s # { 716s # GValue *properties; 716s # GList *changed_properties; 716s # GSource *changed_properties_idle_source; 716s # GMainContext *context; 716s # GMutex lock; 716s # }; 716s # 716s # static void 716s # _org_project_callable_iface_skeleton_handle_method_call ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name, 716s # const gchar *method_name, 716s # GVariant *parameters, 716s # GDBusMethodInvocation *invocation, 716s # gpointer user_data) 716s # { 716s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 716s # _ExtendedGDBusMethodInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # guint num_extra; 716s # gsize n; 716s # guint signal_id; 716s # GValue return_value = G_VALUE_INIT; 716s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 716s # g_assert (info != NULL); 716s # num_params = g_variant_n_children (parameters); 716s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 716s # n = 0; 716s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 716s # g_value_set_object (¶mv[n++], skeleton); 716s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 716s # g_value_set_object (¶mv[n++], invocation); 716s # if (info->pass_fdlist) 716s # { 716s # #ifdef G_OS_UNIX 716s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 716s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 716s # #else 716s # g_assert_not_reached (); 716s # #endif 716s # } 716s # g_variant_iter_init (&iter, parameters); 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 716s # g_value_init (&return_value, G_TYPE_BOOLEAN); 716s # g_signal_emitv (paramv, signal_id, 0, &return_value); 716s # if (!g_value_get_boolean (&return_value)) 716s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 716s # g_value_unset (&return_value); 716s # for (n = 0; n < num_params + num_extra; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static GVariant * 716s # _org_project_callable_iface_skeleton_handle_get_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # GVariant *ret; 716s # ret = NULL; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # g_value_init (&value, pspec->value_type); 716s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_value_unset (&value); 716s # } 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _org_project_callable_iface_skeleton_handle_set_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GVariant *variant, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # gboolean ret; 716s # ret = FALSE; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # if (info->use_gvariant) 716s # g_value_set_variant (&value, variant); 716s # else 716s # g_dbus_gvariant_to_gvalue (variant, &value); 716s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # g_value_unset (&value); 716s # ret = TRUE; 716s # } 716s # return ret; 716s # } 716s # 716s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 716s # { 716s # _org_project_callable_iface_skeleton_handle_method_call, 716s # _org_project_callable_iface_skeleton_handle_get_property, 716s # _org_project_callable_iface_skeleton_handle_set_property, 716s # {NULL} 716s # }; 716s # 716s # static GDBusInterfaceInfo * 716s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return org_project_callable_iface_interface_info (); 716s # } 716s # 716s # static GDBusInterfaceVTable * 716s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 716s # } 716s # 716s # static GVariant * 716s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 716s # 716s # GVariantBuilder builder; 716s # guint n; 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 716s # goto out; 716s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 716s # { 716s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 716s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 716s # { 716s # GVariant *value; 716s # 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); 716s # if (value != NULL) 716s # { 716s # g_variant_take_ref (value); 716s # g_variant_builder_add (&builder, "{sv}", info->name, value); 716s # g_variant_unref (value); 716s # } 716s # } 716s # } 716s # out: 716s # return g_variant_builder_end (&builder); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 716s # 716s # #endif 716s # static void 716s # org_project_callable_iface_skeleton_finalize (GObject *object) 716s # { 716s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # g_main_context_unref (skeleton->priv->context); 716s # g_mutex_clear (&skeleton->priv->lock); 716s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 716s # #else 716s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 716s # #endif 716s # 716s # g_mutex_init (&skeleton->priv->lock); 716s # skeleton->priv->context = g_main_context_ref_thread_default (); 716s # } 716s # 716s # static void 716s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusInterfaceSkeletonClass *skeleton_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 716s # 716s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 716s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 716s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 716s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 716s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # /** 716s # * org_project_callable_iface_skeleton_new: 716s # * 716s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 716s # * 716s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 716s # */ 716s # OrgProjectCallableIface * 716s # org_project_callable_iface_skeleton_new (void) 716s # { 716s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ 716s # * Code for interface org.project.OtherCallableIface 716s # * ------------------------------------------------------------------------ 716s # */ 716s # 716s # /** 716s # * SECTION:OrgProjectOtherCallableIface 716s # * @title: OrgProjectOtherCallableIface 716s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 716s # * 716s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 716s # */ 716s # 716s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 716s # 716s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 716s # { 716s # { 716s # -1, 716s # (gchar *) "SimpleMethod", 716s # NULL, 716s # NULL, 716s # NULL 716s # }, 716s # "handle-simple-method", 716s # FALSE 716s # }; 716s # 716s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 716s # { 716s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 716s # NULL 716s # }; 716s # 716s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 716s # { 716s # { 716s # -1, 716s # (gchar *) "org.project.OtherCallableIface", 716s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 716s # NULL, 716s # NULL, 716s # NULL 716s # }, 716s # "org-project-other-callable-iface", 716s # }; 716s # 716s # 716s # /** 716s # * org_project_other_callable_iface_interface_info: 716s # * 716s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 716s # * 716s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 716s # */ 716s # GDBusInterfaceInfo * 716s # org_project_other_callable_iface_interface_info (void) 716s # { 716s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_override_properties: 716s # * @klass: The class structure for a #GObject derived class. 716s # * @property_id_begin: The property id to assign to the first overridden property. 716s # * 716s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 716s # * The properties are overridden in the order they are defined. 716s # * 716s # * Returns: The last property id. 716s # */ 716s # guint 716s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 716s # { 716s # return property_id_begin - 1; 716s # } 716s # 716s # 716s # inline static void 716s # org_project_other_callable_iface_method_marshal_simple_method ( 716s # GClosure *closure, 716s # GValue *return_value, 716s # unsigned int n_param_values, 716s # const GValue *param_values, 716s # void *invocation_hint, 716s # void *marshal_data) 716s # { 716s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 716s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 716s # } 716s # 716s # 716s # /** 716s # * OrgProjectOtherCallableIface: 716s # * 716s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 716s # */ 716s # 716s # /** 716s # * OrgProjectOtherCallableIfaceIface: 716s # * @parent_iface: The parent interface. 716s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 716s # * 716s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 716s # */ 716s # 716s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 716s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 716s # 716s # static void 716s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 716s # { 716s # /* GObject signals for incoming D-Bus method calls: */ 716s # /** 716s # * OrgProjectOtherCallableIface::handle-simple-method: 716s # * @object: A #OrgProjectOtherCallableIface. 716s # * @invocation: A #GDBusMethodInvocation. 716s # * 716s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 716s # * 716s # * 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. 716s # * 716s # * 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. 716s # */ 716s # g_signal_new ("handle-simple-method", 716s # G_TYPE_FROM_INTERFACE (iface), 716s # G_SIGNAL_RUN_LAST, 716s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 716s # g_signal_accumulator_true_handled, 716s # NULL, 716s # org_project_other_callable_iface_method_marshal_simple_method, 716s # G_TYPE_BOOLEAN, 716s # 1, 716s # G_TYPE_DBUS_METHOD_INVOCATION); 716s # 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_call_simple_method: 716s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 716s # * 716s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 716s # */ 716s # void 716s # org_project_other_callable_iface_call_simple_method ( 716s # OrgProjectOtherCallableIface *proxy, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 716s # "SimpleMethod", 716s # g_variant_new ("()"), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # cancellable, 716s # callback, 716s # user_data); 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_call_simple_method_finish: 716s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 716s # * @error: Return location for error or %NULL. 716s # * 716s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 716s # * 716s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 716s # */ 716s # gboolean 716s # org_project_other_callable_iface_call_simple_method_finish ( 716s # OrgProjectOtherCallableIface *proxy, 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GVariant *_ret; 716s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 716s # if (_ret == NULL) 716s # goto _out; 716s # g_variant_get (_ret, 716s # "()"); 716s # g_variant_unref (_ret); 716s # _out: 716s # return _ret != NULL; 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_call_simple_method_sync: 716s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL. 716s # * 716s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 716s # * 716s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 716s # */ 716s # gboolean 716s # org_project_other_callable_iface_call_simple_method_sync ( 716s # OrgProjectOtherCallableIface *proxy, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GVariant *_ret; 716s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 716s # "SimpleMethod", 716s # g_variant_new ("()"), 716s # G_DBUS_CALL_FLAGS_NONE, 716s # -1, 716s # cancellable, 716s # error); 716s # if (_ret == NULL) 716s # goto _out; 716s # g_variant_get (_ret, 716s # "()"); 716s # g_variant_unref (_ret); 716s # _out: 716s # return _ret != NULL; 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_complete_simple_method: 716s # * @object: A #OrgProjectOtherCallableIface. 716s # * @invocation: (transfer full): A #GDBusMethodInvocation. 716s # * 716s # * 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. 716s # * 716s # * This method will free @invocation, you cannot use it afterwards. 716s # */ 716s # void 716s # org_project_other_callable_iface_complete_simple_method ( 716s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 716s # GDBusMethodInvocation *invocation) 716s # { 716s # g_dbus_method_invocation_return_value (invocation, 716s # g_variant_new ("()")); 716s # } 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * OrgProjectOtherCallableIfaceProxy: 716s # * 716s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * OrgProjectOtherCallableIfaceProxyClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 716s # */ 716s # 716s # struct _OrgProjectOtherCallableIfaceProxyPrivate 716s # { 716s # GData *qdata; 716s # }; 716s # 716s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 716s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 716s # 716s # #endif 716s # static void 716s # org_project_other_callable_iface_proxy_finalize (GObject *object) 716s # { 716s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 716s # g_datalist_clear (&proxy->priv->qdata); 716s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 716s # guint prop_id G_GNUC_UNUSED, 716s # GValue *value G_GNUC_UNUSED, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 716s # guint prop_id G_GNUC_UNUSED, 716s # const GValue *value G_GNUC_UNUSED, 716s # GParamSpec *pspec G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 716s # const gchar *sender_name G_GNUC_UNUSED, 716s # const gchar *signal_name, 716s # GVariant *parameters) 716s # { 716s # _ExtendedGDBusSignalInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # gsize n; 716s # guint signal_id; 716s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 716s # if (info == NULL) 716s # return; 716s # num_params = g_variant_n_children (parameters); 716s # paramv = g_new0 (GValue, num_params + 1); 716s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 716s # g_value_set_object (¶mv[0], proxy); 716s # g_variant_iter_init (&iter, parameters); 716s # n = 1; 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 716s # g_signal_emitv (paramv, signal_id, 0, NULL); 716s # for (n = 0; n < num_params + 1; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 716s # GVariant *changed_properties, 716s # const gchar *const *invalidated_properties) 716s # { 716s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 716s # guint n; 716s # const gchar *key; 716s # GVariantIter *iter; 716s # _ExtendedGDBusPropertyInfo *info; 716s # g_variant_get (changed_properties, "a{sv}", &iter); 716s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 716s # g_datalist_remove_data (&proxy->priv->qdata, key); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # g_variant_iter_free (iter); 716s # for (n = 0; invalidated_properties[n] != NULL; n++) 716s # { 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 716s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 716s # if (info != NULL) 716s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 716s # } 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 716s # #else 716s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 716s # #endif 716s # 716s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusProxyClass *proxy_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 716s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 716s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 716s # 716s # proxy_class = G_DBUS_PROXY_CLASS (klass); 716s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 716s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 716s # * 716s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # org_project_other_callable_iface_proxy_new ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 716s # * 716s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectOtherCallableIface * 716s # org_project_other_callable_iface_proxy_new_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new_sync: 716s # * @connection: A #GDBusConnection. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectOtherCallableIface * 716s # org_project_other_callable_iface_proxy_new_sync ( 716s # GDBusConnection *connection, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new_for_bus: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 716s # * @user_data: User data to pass to @callback. 716s # * 716s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 716s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 716s # * 716s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 716s # */ 716s # void 716s # org_project_other_callable_iface_proxy_new_for_bus ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GAsyncReadyCallback callback, 716s # gpointer user_data) 716s # { 716s # 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); 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 716s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 716s # * @error: Return location for error or %NULL 716s # * 716s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 716s # * 716s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectOtherCallableIface * 716s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 716s # GAsyncResult *res, 716s # GError **error) 716s # { 716s # GObject *ret; 716s # GObject *source_object; 716s # source_object = g_async_result_get_source_object (res); 716s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 716s # g_object_unref (source_object); 716s # if (ret != NULL) 716s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 716s # * @bus_type: A #GBusType. 716s # * @flags: Flags from the #GDBusProxyFlags enumeration. 716s # * @name: A bus name (well-known or unique). 716s # * @object_path: An object path. 716s # * @cancellable: (nullable): A #GCancellable or %NULL. 716s # * @error: Return location for error or %NULL 716s # * 716s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 716s # * 716s # * The calling thread is blocked until a reply is received. 716s # * 716s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 716s # * 716s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 716s # */ 716s # OrgProjectOtherCallableIface * 716s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 716s # GBusType bus_type, 716s # GDBusProxyFlags flags, 716s # const gchar *name, 716s # const gchar *object_path, 716s # GCancellable *cancellable, 716s # GError **error) 716s # { 716s # GInitable *ret; 716s # 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); 716s # if (ret != NULL) 716s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 716s # else 716s # return NULL; 716s # } 716s # 716s # 716s # /* ------------------------------------------------------------------------ */ 716s # 716s # /** 716s # * OrgProjectOtherCallableIfaceSkeleton: 716s # * 716s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 716s # */ 716s # 716s # /** 716s # * OrgProjectOtherCallableIfaceSkeletonClass: 716s # * @parent_class: The parent class. 716s # * 716s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 716s # */ 716s # 716s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 716s # { 716s # GValue *properties; 716s # GList *changed_properties; 716s # GSource *changed_properties_idle_source; 716s # GMainContext *context; 716s # GMutex lock; 716s # }; 716s # 716s # static void 716s # _org_project_other_callable_iface_skeleton_handle_method_call ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name, 716s # const gchar *method_name, 716s # GVariant *parameters, 716s # GDBusMethodInvocation *invocation, 716s # gpointer user_data) 716s # { 716s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 716s # _ExtendedGDBusMethodInfo *info; 716s # GVariantIter iter; 716s # GVariant *child; 716s # GValue *paramv; 716s # gsize num_params; 716s # guint num_extra; 716s # gsize n; 716s # guint signal_id; 716s # GValue return_value = G_VALUE_INIT; 716s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 716s # g_assert (info != NULL); 716s # num_params = g_variant_n_children (parameters); 716s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 716s # n = 0; 716s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 716s # g_value_set_object (¶mv[n++], skeleton); 716s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 716s # g_value_set_object (¶mv[n++], invocation); 716s # if (info->pass_fdlist) 716s # { 716s # #ifdef G_OS_UNIX 716s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 716s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 716s # #else 716s # g_assert_not_reached (); 716s # #endif 716s # } 716s # g_variant_iter_init (&iter, parameters); 716s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 716s # { 716s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 716s # if (arg_info->use_gvariant) 716s # { 716s # g_value_init (¶mv[n], G_TYPE_VARIANT); 716s # g_value_set_variant (¶mv[n], child); 716s # n++; 716s # } 716s # else 716s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 716s # g_variant_unref (child); 716s # } 716s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 716s # g_value_init (&return_value, G_TYPE_BOOLEAN); 716s # g_signal_emitv (paramv, signal_id, 0, &return_value); 716s # if (!g_value_get_boolean (&return_value)) 716s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 716s # g_value_unset (&return_value); 716s # for (n = 0; n < num_params + num_extra; n++) 716s # g_value_unset (¶mv[n]); 716s # g_free (paramv); 716s # } 716s # 716s # static GVariant * 716s # _org_project_other_callable_iface_skeleton_handle_get_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # GVariant *ret; 716s # ret = NULL; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # g_value_init (&value, pspec->value_type); 716s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 716s # g_value_unset (&value); 716s # } 716s # return ret; 716s # } 716s # 716s # static gboolean 716s # _org_project_other_callable_iface_skeleton_handle_set_property ( 716s # GDBusConnection *connection G_GNUC_UNUSED, 716s # const gchar *sender G_GNUC_UNUSED, 716s # const gchar *object_path G_GNUC_UNUSED, 716s # const gchar *interface_name G_GNUC_UNUSED, 716s # const gchar *property_name, 716s # GVariant *variant, 716s # GError **error, 716s # gpointer user_data) 716s # { 716s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 716s # GValue value = G_VALUE_INIT; 716s # GParamSpec *pspec; 716s # _ExtendedGDBusPropertyInfo *info; 716s # gboolean ret; 716s # ret = FALSE; 716s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 716s # g_assert (info != NULL); 716s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 716s # if (pspec == NULL) 716s # { 716s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 716s # } 716s # else 716s # { 716s # if (info->use_gvariant) 716s # g_value_set_variant (&value, variant); 716s # else 716s # g_dbus_gvariant_to_gvalue (variant, &value); 716s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 716s # g_value_unset (&value); 716s # ret = TRUE; 716s # } 716s # return ret; 716s # } 716s # 716s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 716s # { 716s # _org_project_other_callable_iface_skeleton_handle_method_call, 716s # _org_project_other_callable_iface_skeleton_handle_get_property, 716s # _org_project_other_callable_iface_skeleton_handle_set_property, 716s # {NULL} 716s # }; 716s # 716s # static GDBusInterfaceInfo * 716s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return org_project_other_callable_iface_interface_info (); 716s # } 716s # 716s # static GDBusInterfaceVTable * 716s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 716s # { 716s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 716s # } 716s # 716s # static GVariant * 716s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 716s # { 716s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 716s # 716s # GVariantBuilder builder; 716s # guint n; 716s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 716s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 716s # goto out; 716s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 716s # { 716s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 716s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 716s # { 716s # GVariant *value; 716s # 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); 716s # if (value != NULL) 716s # { 716s # g_variant_take_ref (value); 716s # g_variant_builder_add (&builder, "{sv}", info->name, value); 716s # g_variant_unref (value); 716s # } 716s # } 716s # } 716s # out: 716s # return g_variant_builder_end (&builder); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 716s # 716s # #else 716s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 716s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 716s # 716s # #endif 716s # static void 716s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 716s # { 716s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 716s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 716s # if (skeleton->priv->changed_properties_idle_source != NULL) 716s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 716s # g_main_context_unref (skeleton->priv->context); 716s # g_mutex_clear (&skeleton->priv->lock); 716s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 716s # { 716s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 716s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 716s # #else 716s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 716s # #endif 716s # 716s # g_mutex_init (&skeleton->priv->lock); 716s # skeleton->priv->context = g_main_context_ref_thread_default (); 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 716s # { 716s # GObjectClass *gobject_class; 716s # GDBusInterfaceSkeletonClass *skeleton_class; 716s # 716s # gobject_class = G_OBJECT_CLASS (klass); 716s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 716s # 716s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 716s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 716s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 716s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 716s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 716s # 716s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 716s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 716s # #endif 716s # } 716s # 716s # static void 716s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 716s # { 716s # } 716s # 716s # /** 716s # * org_project_other_callable_iface_skeleton_new: 716s # * 716s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 716s # * 716s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 716s # */ 716s # OrgProjectOtherCallableIface * 716s # org_project_other_callable_iface_skeleton_new (void) 716s # { 716s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 716s # } 717s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 717s # tmpdir: /tmp/tmpvi3b9kkr 717s # codegen: /usr/bin/gdbus-codegen 717s # /tmp/tmpvi3b9kkr/tmpp_x9r_7z.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpp_x9r_7z.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # gboolean arg_arg_b, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_boolean (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_b", 717s # (gchar *) "b", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodB", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-b", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_b ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_b: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-b", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_b, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_b: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_b: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_b ( 717s # OrgProjectUsefulInterface *proxy, 717s # gboolean arg_arg_b, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodB", 717s # g_variant_new ("(b)", 717s # arg_arg_b), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_b_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_b_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_b_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_b: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_b_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # gboolean arg_arg_b, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodB", 717s # g_variant_new ("(b)", 717s # arg_arg_b), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_b: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_b ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmpjk1vz8gp.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpjk1vz8gp.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # guchar arg_arg_y, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_uchar (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_y", 717s # (gchar *) "y", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodY", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-y", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_y ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_y: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-y", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_y, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_y: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_y: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_y ( 717s # OrgProjectUsefulInterface *proxy, 717s # guchar arg_arg_y, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodY", 717s # g_variant_new ("(y)", 717s # arg_arg_y), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_y_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_y_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_y_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_y: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_y_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # guchar arg_arg_y, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodY", 717s # g_variant_new ("(y)", 717s # arg_arg_y), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_y: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_y ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmpctiq3_ok.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpctiq3_ok.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # gint16 arg_arg_n, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_int (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_n", 717s # (gchar *) "n", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodN", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-n", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_n ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_n: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-n", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_n, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_n: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_n: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_n ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint16 arg_arg_n, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodN", 717s # g_variant_new ("(n)", 717s # arg_arg_n), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_n_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_n_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_n_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_n: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_n_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint16 arg_arg_n, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodN", 717s # g_variant_new ("(n)", 717s # arg_arg_n), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_n: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_n ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmpj3488cxc.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpj3488cxc.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # guint16 arg_arg_q, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_uint (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_q", 717s # (gchar *) "q", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodQ", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-q", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_q ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_q: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-q", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_q, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_q: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_q: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_q ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint16 arg_arg_q, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodQ", 717s # g_variant_new ("(q)", 717s # arg_arg_q), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_q_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_q_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_q_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_q: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_q_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint16 arg_arg_q, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodQ", 717s # g_variant_new ("(q)", 717s # arg_arg_q), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_q: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_q ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmp55ut6owi.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmp55ut6owi.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # gint arg_arg_i, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_int (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_i", 717s # (gchar *) "i", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodI", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-i", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_i ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_i: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-i", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_i, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_i: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_i: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_i ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint arg_arg_i, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodI", 717s # g_variant_new ("(i)", 717s # arg_arg_i), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_i_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_i_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_i_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_i: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_i_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint arg_arg_i, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodI", 717s # g_variant_new ("(i)", 717s # arg_arg_i), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_i: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_i ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmppbj9cuhv.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmppbj9cuhv.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # guint arg_arg_u, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_uint (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_u", 717s # (gchar *) "u", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodU", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-u", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_u ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_u: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-u", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_u, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_u: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_u: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_u ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint arg_arg_u, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodU", 717s # g_variant_new ("(u)", 717s # arg_arg_u), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_u_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_u_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_u_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_u: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_u_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint arg_arg_u, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodU", 717s # g_variant_new ("(u)", 717s # arg_arg_u), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_u: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_u ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmp2zw7q53l.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmp2zw7q53l.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # gint64 arg_arg_x, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_int64 (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_x", 717s # (gchar *) "x", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodX", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-x", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_x ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_x: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-x", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_x, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_x: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_x: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_x ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint64 arg_arg_x, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodX", 717s # g_variant_new ("(x)", 717s # arg_arg_x), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_x_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_x_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_x_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_x: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_x_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # gint64 arg_arg_x, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodX", 717s # g_variant_new ("(x)", 717s # arg_arg_x), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_x: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_x ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmpugn02aev.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpugn02aev.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # guint64 arg_arg_t, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_uint64 (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_t", 717s # (gchar *) "t", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodT", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-t", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_t ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_t: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-t", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_t, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_t: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_t: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_t ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint64 arg_arg_t, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodT", 717s # g_variant_new ("(t)", 717s # arg_arg_t), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_t_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_t_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_t_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_t: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_t_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # guint64 arg_arg_t, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodT", 717s # g_variant_new ("(t)", 717s # arg_arg_t), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_t: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_t ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmp35s1wbdy.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmp35s1wbdy.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # gdouble arg_arg_d, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_double (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_d", 717s # (gchar *) "d", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodD", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-d", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_d ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_d: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-d", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_d, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_d: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_d: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_d ( 717s # OrgProjectUsefulInterface *proxy, 717s # gdouble arg_arg_d, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodD", 717s # g_variant_new ("(d)", 717s # arg_arg_d), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_d_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_d_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_d_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_d: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_d_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # gdouble arg_arg_d, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodD", 717s # g_variant_new ("(d)", 717s # arg_arg_d), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_d: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_d ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 717s # for (n = 0; n < num_params + num_extra; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static GVariant * 717s # _org_project_useful_interface_skeleton_handle_get_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # GVariant *ret; 717s # ret = NULL; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # g_value_init (&value, pspec->value_type); 717s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 717s # g_value_unset (&value); 717s # } 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _org_project_useful_interface_skeleton_handle_set_property ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name G_GNUC_UNUSED, 717s # const gchar *property_name, 717s # GVariant *variant, 717s # GError **error, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # GValue value = G_VALUE_INIT; 717s # GParamSpec *pspec; 717s # _ExtendedGDBusPropertyInfo *info; 717s # gboolean ret; 717s # ret = FALSE; 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 717s # g_assert (info != NULL); 717s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 717s # if (pspec == NULL) 717s # { 717s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 717s # } 717s # else 717s # { 717s # if (info->use_gvariant) 717s # g_value_set_variant (&value, variant); 717s # else 717s # g_dbus_gvariant_to_gvalue (variant, &value); 717s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 717s # g_value_unset (&value); 717s # ret = TRUE; 717s # } 717s # return ret; 717s # } 717s # 717s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 717s # { 717s # _org_project_useful_interface_skeleton_handle_method_call, 717s # _org_project_useful_interface_skeleton_handle_get_property, 717s # _org_project_useful_interface_skeleton_handle_set_property, 717s # {NULL} 717s # }; 717s # 717s # static GDBusInterfaceInfo * 717s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return org_project_useful_interface_interface_info (); 717s # } 717s # 717s # static GDBusInterfaceVTable * 717s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 717s # { 717s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 717s # } 717s # 717s # static GVariant * 717s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 717s # 717s # GVariantBuilder builder; 717s # guint n; 717s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 717s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 717s # goto out; 717s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 717s # { 717s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 717s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 717s # { 717s # GVariant *value; 717s # 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); 717s # if (value != NULL) 717s # { 717s # g_variant_take_ref (value); 717s # g_variant_builder_add (&builder, "{sv}", info->name, value); 717s # g_variant_unref (value); 717s # } 717s # } 717s # } 717s # out: 717s # return g_variant_builder_end (&builder); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_skeleton_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 717s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 717s # if (skeleton->priv->changed_properties_idle_source != NULL) 717s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 717s # g_main_context_unref (skeleton->priv->context); 717s # g_mutex_clear (&skeleton->priv->lock); 717s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 717s # #else 717s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 717s # #endif 717s # 717s # g_mutex_init (&skeleton->priv->lock); 717s # skeleton->priv->context = g_main_context_ref_thread_default (); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusInterfaceSkeletonClass *skeleton_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 717s # 717s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 717s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 717s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 717s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 717s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_skeleton_new: 717s # * 717s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_skeleton_new (void) 717s # { 717s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 717s # } 717s # /tmp/tmpvi3b9kkr/tmpt9l3475b.xml: 717s # 717s # 717s # 717s # 717s # 717s # 717s # 717s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpt9l3475b.xml', '--output', '-', '--body'] 717s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 717s # Output: /* 717s # * This file is generated by gdbus-codegen, do not modify it. 717s # * 717s # * The license of this code is the same as for the D-Bus interface description 717s # * it was derived from. Note that it links to GLib, so must comply with the 717s # * LGPL linking clauses. 717s # */ 717s # 717s # #ifdef HAVE_CONFIG_H 717s # # include "config.h" 717s # #endif 717s # 717s # #include 717s # #ifdef G_OS_UNIX 717s # # include 717s # #endif 717s # 717s # #ifdef G_ENABLE_DEBUG 717s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 717s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 717s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 717s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 717s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 717s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 717s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 717s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 717s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 717s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 717s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 717s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 717s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 717s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 717s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 717s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 717s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 717s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 717s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 717s # #else /* !G_ENABLE_DEBUG */ 717s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 717s # * Do not access GValues directly in your code. Instead, use the 717s # * g_value_get_*() functions 717s # */ 717s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 717s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 717s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 717s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 717s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 717s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 717s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 717s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 717s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 717s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 717s # #endif /* !G_ENABLE_DEBUG */ 717s # 717s # typedef struct 717s # { 717s # GDBusArgInfo parent_struct; 717s # gboolean use_gvariant; 717s # } _ExtendedGDBusArgInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusMethodInfo parent_struct; 717s # const gchar *signal_name; 717s # gboolean pass_fdlist; 717s # } _ExtendedGDBusMethodInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusSignalInfo parent_struct; 717s # const gchar *signal_name; 717s # } _ExtendedGDBusSignalInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusPropertyInfo parent_struct; 717s # const gchar *hyphen_name; 717s # guint use_gvariant : 1; 717s # guint emits_changed_signal : 1; 717s # } _ExtendedGDBusPropertyInfo; 717s # 717s # typedef struct 717s # { 717s # GDBusInterfaceInfo parent_struct; 717s # const gchar *hyphen_name; 717s # } _ExtendedGDBusInterfaceInfo; 717s # 717s # typedef struct 717s # { 717s # const _ExtendedGDBusPropertyInfo *info; 717s # guint prop_id; 717s # GValue orig_value; /* the value before the change */ 717s # } ChangedProperty; 717s # 717s # static void 717s # _changed_property_free (ChangedProperty *data) 717s # { 717s # g_value_unset (&data->orig_value); 717s # g_free (data); 717s # } 717s # 717s # static gboolean 717s # _g_strv_equal0 (gchar **a, gchar **b) 717s # { 717s # gboolean ret = FALSE; 717s # guint n; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # if (g_strv_length (a) != g_strv_length (b)) 717s # goto out; 717s # for (n = 0; a[n] != NULL; n++) 717s # if (g_strcmp0 (a[n], b[n]) != 0) 717s # goto out; 717s # ret = TRUE; 717s # out: 717s # return ret; 717s # } 717s # 717s # static gboolean 717s # _g_variant_equal0 (GVariant *a, GVariant *b) 717s # { 717s # gboolean ret = FALSE; 717s # if (a == NULL && b == NULL) 717s # { 717s # ret = TRUE; 717s # goto out; 717s # } 717s # if (a == NULL || b == NULL) 717s # goto out; 717s # ret = g_variant_equal (a, b); 717s # out: 717s # return ret; 717s # } 717s # 717s # G_GNUC_UNUSED static gboolean 717s # _g_value_equal (const GValue *a, const GValue *b) 717s # { 717s # gboolean ret = FALSE; 717s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 717s # switch (G_VALUE_TYPE (a)) 717s # { 717s # case G_TYPE_BOOLEAN: 717s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 717s # break; 717s # case G_TYPE_UCHAR: 717s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 717s # break; 717s # case G_TYPE_INT: 717s # ret = (g_value_get_int (a) == g_value_get_int (b)); 717s # break; 717s # case G_TYPE_UINT: 717s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 717s # break; 717s # case G_TYPE_INT64: 717s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 717s # break; 717s # case G_TYPE_UINT64: 717s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 717s # break; 717s # case G_TYPE_DOUBLE: 717s # { 717s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 717s # gdouble da = g_value_get_double (a); 717s # gdouble db = g_value_get_double (b); 717s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 717s # } 717s # break; 717s # case G_TYPE_STRING: 717s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 717s # break; 717s # case G_TYPE_VARIANT: 717s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 717s # break; 717s # default: 717s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 717s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 717s # else 717s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 717s # break; 717s # } 717s # return ret; 717s # } 717s # 717s # static void 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint G_GNUC_UNUSED, 717s # void *marshal_data) 717s # { 717s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 717s # (void *data1, 717s # GDBusMethodInvocation *arg_method_invocation, 717s # const gchar *arg_arg_s, 717s # void *data2); 717s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 717s # GCClosure *cc = (GCClosure*) closure; 717s # void *data1, *data2; 717s # gboolean v_return; 717s # 717s # g_return_if_fail (return_value != NULL); 717s # g_return_if_fail (n_param_values == 3); 717s # 717s # if (G_CCLOSURE_SWAP_DATA (closure)) 717s # { 717s # data1 = closure->data; 717s # data2 = g_value_peek_pointer (param_values + 0); 717s # } 717s # else 717s # { 717s # data1 = g_value_peek_pointer (param_values + 0); 717s # data2 = closure->data; 717s # } 717s # 717s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 717s # (marshal_data ? marshal_data : cc->callback); 717s # 717s # v_return = 717s # callback (data1, 717s # g_marshal_value_peek_object (param_values + 1), 717s # g_marshal_value_peek_string (param_values + 2), 717s # data2); 717s # 717s # g_value_set_boolean (return_value, v_return); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ 717s # * Code for interface org.project.UsefulInterface 717s # * ------------------------------------------------------------------------ 717s # */ 717s # 717s # /** 717s # * SECTION:OrgProjectUsefulInterface 717s # * @title: OrgProjectUsefulInterface 717s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 717s # * 717s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 717s # */ 717s # 717s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 717s # 717s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 717s # { 717s # { 717s # -1, 717s # (gchar *) "arg_s", 717s # (gchar *) "s", 717s # NULL 717s # }, 717s # FALSE 717s # }; 717s # 717s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 717s # { 717s # { 717s # -1, 717s # (gchar *) "SingleArgMethodS", 717s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 717s # NULL, 717s # NULL 717s # }, 717s # "handle-single-arg-method-s", 717s # FALSE 717s # }; 717s # 717s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 717s # { 717s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 717s # NULL 717s # }; 717s # 717s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 717s # { 717s # { 717s # -1, 717s # (gchar *) "org.project.UsefulInterface", 717s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 717s # NULL, 717s # NULL, 717s # NULL 717s # }, 717s # "org-project-useful-interface", 717s # }; 717s # 717s # 717s # /** 717s # * org_project_useful_interface_interface_info: 717s # * 717s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 717s # * 717s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 717s # */ 717s # GDBusInterfaceInfo * 717s # org_project_useful_interface_interface_info (void) 717s # { 717s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_override_properties: 717s # * @klass: The class structure for a #GObject derived class. 717s # * @property_id_begin: The property id to assign to the first overridden property. 717s # * 717s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 717s # * The properties are overridden in the order they are defined. 717s # * 717s # * Returns: The last property id. 717s # */ 717s # guint 717s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 717s # { 717s # return property_id_begin - 1; 717s # } 717s # 717s # 717s # inline static void 717s # org_project_useful_interface_method_marshal_single_arg_method_s ( 717s # GClosure *closure, 717s # GValue *return_value, 717s # unsigned int n_param_values, 717s # const GValue *param_values, 717s # void *invocation_hint, 717s # void *marshal_data) 717s # { 717s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 717s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 717s # } 717s # 717s # 717s # /** 717s # * OrgProjectUsefulInterface: 717s # * 717s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceIface: 717s # * @parent_iface: The parent interface. 717s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 717s # * 717s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 717s # */ 717s # 717s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 717s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 717s # 717s # static void 717s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 717s # { 717s # /* GObject signals for incoming D-Bus method calls: */ 717s # /** 717s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: A #GDBusMethodInvocation. 717s # * @arg_arg_s: Argument passed by remote caller. 717s # * 717s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 717s # * 717s # * 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. 717s # * 717s # * 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. 717s # */ 717s # g_signal_new ("handle-single-arg-method-s", 717s # G_TYPE_FROM_INTERFACE (iface), 717s # G_SIGNAL_RUN_LAST, 717s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 717s # g_signal_accumulator_true_handled, 717s # NULL, 717s # org_project_useful_interface_method_marshal_single_arg_method_s, 717s # G_TYPE_BOOLEAN, 717s # 2, 717s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 717s # 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_s: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_s: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 717s # */ 717s # void 717s # org_project_useful_interface_call_single_arg_method_s ( 717s # OrgProjectUsefulInterface *proxy, 717s # const gchar *arg_arg_s, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodS", 717s # g_variant_new ("(s)", 717s # arg_arg_s), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # callback, 717s # user_data); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_s_finish: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_s_finish ( 717s # OrgProjectUsefulInterface *proxy, 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_call_single_arg_method_s_sync: 717s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 717s # * @arg_arg_s: Argument to pass with the method invocation. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL. 717s # * 717s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 717s # * 717s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 717s # */ 717s # gboolean 717s # org_project_useful_interface_call_single_arg_method_s_sync ( 717s # OrgProjectUsefulInterface *proxy, 717s # const gchar *arg_arg_s, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GVariant *_ret; 717s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 717s # "SingleArgMethodS", 717s # g_variant_new ("(s)", 717s # arg_arg_s), 717s # G_DBUS_CALL_FLAGS_NONE, 717s # -1, 717s # cancellable, 717s # error); 717s # if (_ret == NULL) 717s # goto _out; 717s # g_variant_get (_ret, 717s # "()"); 717s # g_variant_unref (_ret); 717s # _out: 717s # return _ret != NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_complete_single_arg_method_s: 717s # * @object: A #OrgProjectUsefulInterface. 717s # * @invocation: (transfer full): A #GDBusMethodInvocation. 717s # * 717s # * 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. 717s # * 717s # * This method will free @invocation, you cannot use it afterwards. 717s # */ 717s # void 717s # org_project_useful_interface_complete_single_arg_method_s ( 717s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 717s # GDBusMethodInvocation *invocation) 717s # { 717s # g_dbus_method_invocation_return_value (invocation, 717s # g_variant_new ("()")); 717s # } 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxy: 717s # * 717s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceProxyClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceProxy. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceProxyPrivate 717s # { 717s # GData *qdata; 717s # }; 717s # 717s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #else 717s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 717s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 717s # 717s # #endif 717s # static void 717s # org_project_useful_interface_proxy_finalize (GObject *object) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 717s # g_datalist_clear (&proxy->priv->qdata); 717s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 717s # guint prop_id G_GNUC_UNUSED, 717s # const GValue *value G_GNUC_UNUSED, 717s # GParamSpec *pspec G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 717s # const gchar *sender_name G_GNUC_UNUSED, 717s # const gchar *signal_name, 717s # GVariant *parameters) 717s # { 717s # _ExtendedGDBusSignalInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # gsize n; 717s # guint signal_id; 717s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 717s # if (info == NULL) 717s # return; 717s # num_params = g_variant_n_children (parameters); 717s # paramv = g_new0 (GValue, num_params + 1); 717s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[0], proxy); 717s # g_variant_iter_init (&iter, parameters); 717s # n = 1; 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_signal_emitv (paramv, signal_id, 0, NULL); 717s # for (n = 0; n < num_params + 1; n++) 717s # g_value_unset (¶mv[n]); 717s # g_free (paramv); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 717s # GVariant *changed_properties, 717s # const gchar *const *invalidated_properties) 717s # { 717s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 717s # guint n; 717s # const gchar *key; 717s # GVariantIter *iter; 717s # _ExtendedGDBusPropertyInfo *info; 717s # g_variant_get (changed_properties, "a{sv}", &iter); 717s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 717s # g_datalist_remove_data (&proxy->priv->qdata, key); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # g_variant_iter_free (iter); 717s # for (n = 0; invalidated_properties[n] != NULL; n++) 717s # { 717s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 717s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 717s # if (info != NULL) 717s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 717s # } 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 717s # { 717s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 717s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 717s # #else 717s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 717s # #endif 717s # 717s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 717s # { 717s # GObjectClass *gobject_class; 717s # GDBusProxyClass *proxy_class; 717s # 717s # gobject_class = G_OBJECT_CLASS (klass); 717s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 717s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 717s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 717s # 717s # proxy_class = G_DBUS_PROXY_CLASS (klass); 717s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 717s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 717s # 717s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 717s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 717s # #endif 717s # } 717s # 717s # static void 717s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 717s # { 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_sync: 717s # * @connection: A #GDBusConnection. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_sync ( 717s # GDBusConnection *connection, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 717s # * @user_data: User data to pass to @callback. 717s # * 717s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 717s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 717s # */ 717s # void 717s # org_project_useful_interface_proxy_new_for_bus ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GAsyncReadyCallback callback, 717s # gpointer user_data) 717s # { 717s # g_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); 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_finish: 717s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 717s # * @error: Return location for error or %NULL 717s # * 717s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_finish ( 717s # GAsyncResult *res, 717s # GError **error) 717s # { 717s # GObject *ret; 717s # GObject *source_object; 717s # source_object = g_async_result_get_source_object (res); 717s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 717s # g_object_unref (source_object); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # /** 717s # * org_project_useful_interface_proxy_new_for_bus_sync: 717s # * @bus_type: A #GBusType. 717s # * @flags: Flags from the #GDBusProxyFlags enumeration. 717s # * @name: A bus name (well-known or unique). 717s # * @object_path: An object path. 717s # * @cancellable: (nullable): A #GCancellable or %NULL. 717s # * @error: Return location for error or %NULL 717s # * 717s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 717s # * 717s # * The calling thread is blocked until a reply is received. 717s # * 717s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 717s # * 717s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 717s # */ 717s # OrgProjectUsefulInterface * 717s # org_project_useful_interface_proxy_new_for_bus_sync ( 717s # GBusType bus_type, 717s # GDBusProxyFlags flags, 717s # const gchar *name, 717s # const gchar *object_path, 717s # GCancellable *cancellable, 717s # GError **error) 717s # { 717s # GInitable *ret; 717s # 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); 717s # if (ret != NULL) 717s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 717s # else 717s # return NULL; 717s # } 717s # 717s # 717s # /* ------------------------------------------------------------------------ */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeleton: 717s # * 717s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 717s # */ 717s # 717s # /** 717s # * OrgProjectUsefulInterfaceSkeletonClass: 717s # * @parent_class: The parent class. 717s # * 717s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 717s # */ 717s # 717s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 717s # { 717s # GValue *properties; 717s # GList *changed_properties; 717s # GSource *changed_properties_idle_source; 717s # GMainContext *context; 717s # GMutex lock; 717s # }; 717s # 717s # static void 717s # _org_project_useful_interface_skeleton_handle_method_call ( 717s # GDBusConnection *connection G_GNUC_UNUSED, 717s # const gchar *sender G_GNUC_UNUSED, 717s # const gchar *object_path G_GNUC_UNUSED, 717s # const gchar *interface_name, 717s # const gchar *method_name, 717s # GVariant *parameters, 717s # GDBusMethodInvocation *invocation, 717s # gpointer user_data) 717s # { 717s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 717s # _ExtendedGDBusMethodInfo *info; 717s # GVariantIter iter; 717s # GVariant *child; 717s # GValue *paramv; 717s # gsize num_params; 717s # guint num_extra; 717s # gsize n; 717s # guint signal_id; 717s # GValue return_value = G_VALUE_INIT; 717s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 717s # g_assert (info != NULL); 717s # num_params = g_variant_n_children (parameters); 717s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 717s # n = 0; 717s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_set_object (¶mv[n++], skeleton); 717s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 717s # g_value_set_object (¶mv[n++], invocation); 717s # if (info->pass_fdlist) 717s # { 717s # #ifdef G_OS_UNIX 717s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 717s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 717s # #else 717s # g_assert_not_reached (); 717s # #endif 717s # } 717s # g_variant_iter_init (&iter, parameters); 717s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 717s # { 717s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 717s # if (arg_info->use_gvariant) 717s # { 717s # g_value_init (¶mv[n], G_TYPE_VARIANT); 717s # g_value_set_variant (¶mv[n], child); 717s # n++; 717s # } 717s # else 717s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 717s # g_variant_unref (child); 717s # } 717s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 717s # g_value_init (&return_value, G_TYPE_BOOLEAN); 717s # g_signal_emitv (paramv, signal_id, 0, &return_value); 717s # if (!g_value_get_boolean (&return_value)) 717s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 717s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmpk_a2g8kw.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpk_a2g8kw.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *arg_arg_o, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_string (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodO", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-o", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_o ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_o: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-o", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_o, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_o: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_o ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_o, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodO", 718s # g_variant_new ("(o)", 718s # arg_arg_o), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_o_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_o: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_o_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_o, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodO", 718s # g_variant_new ("(o)", 718s # arg_arg_o), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_o: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_o ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmp79agmrkk.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmp79agmrkk.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *arg_arg_g, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_string (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodG", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-g", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_g ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_g: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-g", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_g, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_g: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_g ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_g, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodG", 718s # g_variant_new ("(g)", 718s # arg_arg_g), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_g_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_g: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_g_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_g, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodG", 718s # g_variant_new ("(g)", 718s # arg_arg_g), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_g: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_g ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmporhgxtuh.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmporhgxtuh.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # GVariant *arg_arg_h, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_variant (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodH", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-h", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_h ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_h: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-h", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_h, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_h: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_h ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant *arg_arg_h, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodH", 718s # g_variant_new ("(@h)", 718s # arg_arg_h), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_h_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_h: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_h_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant *arg_arg_h, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodH", 718s # g_variant_new ("(@h)", 718s # arg_arg_h), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_h: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_h ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmpf128j85r.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpf128j85r.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *arg_arg_ay, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_string (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAy", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-ay", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_ay: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-ay", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_ay, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_ay: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_ay ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_ay, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAy", 718s # g_variant_new ("(^ay)", 718s # arg_arg_ay), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ay_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_ay: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ay_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *arg_arg_ay, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAy", 718s # g_variant_new ("(^ay)", 718s # arg_arg_ay), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_ay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_ay ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmp1505pgp9.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmp1505pgp9.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *const *arg_arg_as, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_boxed (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAs", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-as", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_as ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_as: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-as", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_as, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_as: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_as ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_as, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAs", 718s # g_variant_new ("(^as)", 718s # arg_arg_as), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_as_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_as: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_as_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_as, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAs", 718s # g_variant_new ("(^as)", 718s # arg_arg_as), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_as: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_as ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmpjzwy66u4.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpjzwy66u4.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *const *arg_arg_ao, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_boxed (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAo", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-ao", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_ao: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-ao", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_ao, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_ao: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_ao ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_ao, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAo", 718s # g_variant_new ("(^ao)", 718s # arg_arg_ao), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ao_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_ao: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ao_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_ao, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAo", 718s # g_variant_new ("(^ao)", 718s # arg_arg_ao), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_ao: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_ao ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmpj4q7n91y.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpj4q7n91y.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *const *arg_arg_aay, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_boxed (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAay", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-aay", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_aay: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-aay", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_aay, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_aay: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_aay ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_aay, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAay", 718s # g_variant_new ("(^aay)", 718s # arg_arg_aay), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_aay_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_aay: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_aay_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # const gchar *const *arg_arg_aay, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAay", 718s # g_variant_new ("(^aay)", 718s # arg_arg_aay), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_aay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_aay ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmpvi3b9kkr/tmpx4slcgzf.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi3b9kkr/tmpx4slcgzf.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # GVariant *arg_arg_asv, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 3); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_variant (param_values + 2), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAsv", 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-single-arg-method-asv", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_arg_asv: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-asv", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_asv, 718s # G_TYPE_BOOLEAN, 718s # 2, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_asv ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant *arg_arg_asv, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAsv", 718s # g_variant_new ("(@a{sv})", 718s # arg_arg_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_asv_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @arg_arg_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_asv_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant *arg_arg_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAsv", 718s # g_variant_new ("(@a{sv})", 718s # arg_arg_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_asv: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_asv ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 718s # tmpdir: /tmp/tmp9rdi4nb3 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmp9rdi4nb3/tmp36a1uuo_.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmp36a1uuo_.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodB", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-b", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_b ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-b", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_b, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_b: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_b ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodB", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_b_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_b_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gboolean *out_arg_b, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(b)", 718s # out_arg_b); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_b_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_b_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gboolean *out_arg_b, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodB", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(b)", 718s # out_arg_b); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_b: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_b: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_b ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gboolean arg_b) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(b)", 718s # arg_b)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpfe0cwf13.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpfe0cwf13.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodY", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-y", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_y ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-y", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_y, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_y: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_y ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodY", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_y_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_y_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # guchar *out_arg_y, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(y)", 718s # out_arg_y); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_y_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_y_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # guchar *out_arg_y, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodY", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(y)", 718s # out_arg_y); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_y: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_y: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_y ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # guchar arg_y) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(y)", 718s # arg_y)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmphdbwh593.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmphdbwh593.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodN", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-n", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_n ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-n", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_n, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_n: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_n ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodN", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_n_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_n_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint16 *out_arg_n, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(n)", 718s # out_arg_n); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_n_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_n_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint16 *out_arg_n, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodN", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(n)", 718s # out_arg_n); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_n: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_n: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_n ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gint16 arg_n) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(n)", 718s # arg_n)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpjuiw3qcm.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpjuiw3qcm.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodQ", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-q", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_q ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-q", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_q, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_q: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_q ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodQ", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_q_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_q_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint16 *out_arg_q, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(q)", 718s # out_arg_q); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_q_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_q_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint16 *out_arg_q, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodQ", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(q)", 718s # out_arg_q); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_q: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_q: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_q ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # guint16 arg_q) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(q)", 718s # arg_q)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpsdgqyk3d.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpsdgqyk3d.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodI", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-i", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_i ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-i", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_i, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_i: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_i ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodI", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_i_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_i_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint *out_arg_i, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(i)", 718s # out_arg_i); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_i_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_i_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint *out_arg_i, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodI", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(i)", 718s # out_arg_i); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_i: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_i: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_i ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gint arg_i) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(i)", 718s # arg_i)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpdg7g7mfk.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpdg7g7mfk.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodU", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-u", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_u ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-u", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_u, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_u: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_u ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodU", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_u_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_u_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint *out_arg_u, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(u)", 718s # out_arg_u); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_u_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_u_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint *out_arg_u, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodU", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(u)", 718s # out_arg_u); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_u: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_u: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_u ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # guint arg_u) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(u)", 718s # arg_u)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpoi5nzqk3.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpoi5nzqk3.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodX", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-x", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_x ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-x", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_x, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_x: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_x ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodX", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_x_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_x_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint64 *out_arg_x, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(x)", 718s # out_arg_x); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_x_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_x_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gint64 *out_arg_x, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodX", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(x)", 718s # out_arg_x); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_x: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_x: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_x ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gint64 arg_x) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(x)", 718s # arg_x)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmprh_g7jy2.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmprh_g7jy2.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodT", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-t", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_t ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-t", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_t, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_t: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_t ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodT", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_t_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_t_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint64 *out_arg_t, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(t)", 718s # out_arg_t); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_t_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_t_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # guint64 *out_arg_t, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodT", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(t)", 718s # out_arg_t); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_t: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_t: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_t ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # guint64 arg_t) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(t)", 718s # arg_t)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmp0b4eqo8i.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmp0b4eqo8i.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodD", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-d", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_d ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-d", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_d, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_d: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_d ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodD", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_d_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_d_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gdouble *out_arg_d, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(d)", 718s # out_arg_d); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_d_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_d_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gdouble *out_arg_d, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodD", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(d)", 718s # out_arg_d); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_d: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_d: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_d ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gdouble arg_d) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(d)", 718s # arg_d)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmptaehve7s.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmptaehve7s.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodS", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-s", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_s ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-s", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_s, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_s: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_s ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodS", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_s_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_s_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_s, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(s)", 718s # out_arg_s); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_s_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_s_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_s, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodS", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(s)", 718s # out_arg_s); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_s: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_s: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_s ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *arg_s) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(s)", 718s # arg_s)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpc5gr7nxp.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpc5gr7nxp.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodO", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-o", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_o ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-o", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_o, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_o ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodO", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_o_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_o, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(o)", 718s # out_arg_o); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_o_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_o_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_o, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodO", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(o)", 718s # out_arg_o); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_o: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_o: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_o ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *arg_o) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(o)", 718s # arg_o)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmps9b2hixw.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmps9b2hixw.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodG", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-g", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_g ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-g", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_g, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_g ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodG", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_g_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_g, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(g)", 718s # out_arg_g); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_g_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_g_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_g, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodG", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(g)", 718s # out_arg_g); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_g: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_g: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_g ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *arg_g) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(g)", 718s # arg_g)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpqxazbikk.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpqxazbikk.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodH", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-h", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_h ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-h", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_h, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_h ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodH", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_h_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant **out_arg_h, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(@h)", 718s # out_arg_h); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_h_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_h_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant **out_arg_h, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodH", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(@h)", 718s # out_arg_h); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_h: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_h: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_h ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # GVariant *arg_h) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(@h)", 718s # arg_h)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmp0wb4e3aa.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmp0wb4e3aa.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAy", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-ay", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-ay", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_ay, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_ay ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAy", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ay_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_ay, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^ay)", 718s # out_arg_ay); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ay_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ay_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar **out_arg_ay, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAy", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^ay)", 718s # out_arg_ay); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_ay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_ay: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_ay ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *arg_ay) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(^ay)", 718s # arg_ay)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpjitgpfct.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpjitgpfct.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAs", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-as", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_as ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-as", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_as, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_as ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAs", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_as_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_as, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^as)", 718s # out_arg_as); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_as_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_as_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_as, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAs", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^as)", 718s # out_arg_as); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_as: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_as: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_as ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *const *arg_as) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(^as)", 718s # arg_as)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpypj6ejhg.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpypj6ejhg.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAo", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-ao", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-ao", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_ao, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_ao ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAo", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ao_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_ao, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^ao)", 718s # out_arg_ao); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_ao_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_ao_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_ao, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAo", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^ao)", 718s # out_arg_ao); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_ao: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_ao: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_ao ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *const *arg_ao) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(^ao)", 718s # arg_ao)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmpuco1lny9.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmpuco1lny9.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAay", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-aay", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-aay", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_aay, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_aay ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAay", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_aay_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_aay, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^aay)", 718s # out_arg_aay); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_aay_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_aay_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # gchar ***out_arg_aay, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAay", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(^aay)", 718s # out_arg_aay); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_aay: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_aay: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_aay ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # const gchar *const *arg_aay) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(^aay)", 718s # arg_aay)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s # /tmp/tmp9rdi4nb3/tmp9w4hpake.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9rdi4nb3/tmp9w4hpake.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.UsefulInterface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectUsefulInterface 718s # * @title: OrgProjectUsefulInterface 718s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "arg_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SingleArgMethodAsv", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-single-arg-method-asv", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 718s # { 718s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.UsefulInterface", 718s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-useful-interface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_useful_interface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_useful_interface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectUsefulInterface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 718s # */ 718s # 718s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-single-arg-method-asv", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_useful_interface_method_marshal_single_arg_method_asv, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_useful_interface_call_single_arg_method_asv ( 718s # OrgProjectUsefulInterface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAsv", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv_finish: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_asv_finish ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant **out_arg_asv, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(@a{sv})", 718s # out_arg_asv); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_call_single_arg_method_asv_sync: 718s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 718s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_useful_interface_call_single_arg_method_asv_sync ( 718s # OrgProjectUsefulInterface *proxy, 718s # GVariant **out_arg_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SingleArgMethodAsv", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(@a{sv})", 718s # out_arg_asv); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_complete_single_arg_method_asv: 718s # * @object: A #OrgProjectUsefulInterface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @arg_asv: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_useful_interface_complete_single_arg_method_asv ( 718s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # GVariant *arg_asv) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(@a{sv})", 718s # arg_asv)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxy: 718s # * 718s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 718s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 718s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_useful_interface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_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); 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeleton: 718s # * 718s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectUsefulInterfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_useful_interface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_useful_interface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_useful_interface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 718s # { 718s # _org_project_useful_interface_skeleton_handle_method_call, 718s # _org_project_useful_interface_skeleton_handle_get_property, 718s # _org_project_useful_interface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_useful_interface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_useful_interface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_useful_interface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectUsefulInterface * 718s # org_project_useful_interface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 718s # } 718s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 718s # tmpdir: /tmp/tmpyvwjdk98 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpyvwjdk98/tmptd22ex7m.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyvwjdk98/tmptd22ex7m.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 20); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_boolean (param_values + 2), 718s # g_marshal_value_peek_uchar (param_values + 3), 718s # g_marshal_value_peek_int (param_values + 4), 718s # g_marshal_value_peek_uint (param_values + 5), 718s # g_marshal_value_peek_int (param_values + 6), 718s # g_marshal_value_peek_uint (param_values + 7), 718s # g_marshal_value_peek_int64 (param_values + 8), 718s # g_marshal_value_peek_uint64 (param_values + 9), 718s # g_marshal_value_peek_double (param_values + 10), 718s # g_marshal_value_peek_string (param_values + 11), 718s # g_marshal_value_peek_string (param_values + 12), 718s # g_marshal_value_peek_string (param_values + 13), 718s # g_marshal_value_peek_variant (param_values + 14), 718s # g_marshal_value_peek_string (param_values + 15), 718s # g_marshal_value_peek_boxed (param_values + 16), 718s # g_marshal_value_peek_boxed (param_values + 17), 718s # g_marshal_value_peek_boxed (param_values + 18), 718s # g_marshal_value_peek_variant (param_values + 19), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.CallableIface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectCallableIface 718s # * @title: OrgProjectCallableIface 718s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.CallableIface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 718s # { 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 718s # { 718s # { 718s # -1, 718s # (gchar *) "MethodWithManyArgs", 718s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-method-with-many-args", 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 718s # { 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SameMethodWithManyArgs", 718s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-same-method-with-many-args", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 718s # { 718s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 718s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.CallableIface", 718s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-callable-iface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_callable_iface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_callable_iface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_callable_iface_method_marshal_method_with_many_args ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _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, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # inline static void 718s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _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, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectCallableIface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 718s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.CallableIface. 718s # */ 718s # 718s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectCallableIface::handle-method-with-many-args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_an_b: Argument passed by remote caller. 718s # * @arg_an_y: Argument passed by remote caller. 718s # * @arg_an_n: Argument passed by remote caller. 718s # * @arg_an_q: Argument passed by remote caller. 718s # * @arg_an_i: Argument passed by remote caller. 718s # * @arg_an_u: Argument passed by remote caller. 718s # * @arg_an_x: Argument passed by remote caller. 718s # * @arg_an_t: Argument passed by remote caller. 718s # * @arg_an_d: Argument passed by remote caller. 718s # * @arg_an_s: Argument passed by remote caller. 718s # * @arg_an_o: Argument passed by remote caller. 718s # * @arg_an_g: Argument passed by remote caller. 718s # * @arg_an_h: Argument passed by remote caller. 718s # * @arg_an_ay: Argument passed by remote caller. 718s # * @arg_an_as: Argument passed by remote caller. 718s # * @arg_an_ao: Argument passed by remote caller. 718s # * @arg_an_aay: Argument passed by remote caller. 718s # * @arg_an_asv: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-method-with-many-args", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_callable_iface_method_marshal_method_with_many_args, 718s # G_TYPE_BOOLEAN, 718s # 19, 718s # 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); 718s # 718s # /** 718s # * OrgProjectCallableIface::handle-same-method-with-many-args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_an_b: Argument passed by remote caller. 718s # * @arg_an_y: Argument passed by remote caller. 718s # * @arg_an_n: Argument passed by remote caller. 718s # * @arg_an_q: Argument passed by remote caller. 718s # * @arg_an_i: Argument passed by remote caller. 718s # * @arg_an_u: Argument passed by remote caller. 718s # * @arg_an_x: Argument passed by remote caller. 718s # * @arg_an_t: Argument passed by remote caller. 718s # * @arg_an_d: Argument passed by remote caller. 718s # * @arg_an_s: Argument passed by remote caller. 718s # * @arg_an_o: Argument passed by remote caller. 718s # * @arg_an_g: Argument passed by remote caller. 718s # * @arg_an_h: Argument passed by remote caller. 718s # * @arg_an_ay: Argument passed by remote caller. 718s # * @arg_an_as: Argument passed by remote caller. 718s # * @arg_an_ao: Argument passed by remote caller. 718s # * @arg_an_aay: Argument passed by remote caller. 718s # * @arg_an_asv: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-same-method-with-many-args", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_callable_iface_method_marshal_same_method_with_many_args, 718s # G_TYPE_BOOLEAN, 718s # 19, 718s # 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); 718s # 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_callable_iface_call_method_with_many_args ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args_finish: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_method_with_many_args_finish ( 718s # OrgProjectCallableIface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args_sync: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_method_with_many_args_sync ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_same_method_with_many_args: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_callable_iface_call_same_method_with_many_args ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "SameMethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_same_method_with_many_args_finish: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_same_method_with_many_args_finish ( 718s # OrgProjectCallableIface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_same_method_with_many_args_sync: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_same_method_with_many_args_sync ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "SameMethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_complete_method_with_many_args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_callable_iface_complete_method_with_many_args ( 718s # OrgProjectCallableIface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_complete_same_method_with_many_args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_callable_iface_complete_same_method_with_many_args ( 718s # OrgProjectCallableIface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceProxy: 718s # * 718s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectCallableIfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectCallableIfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_callable_iface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 718s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 718s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_callable_iface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_callable_iface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceSkeleton: 718s # * 718s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectCallableIfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectCallableIfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_callable_iface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_callable_iface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_callable_iface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 718s # { 718s # _org_project_callable_iface_skeleton_handle_method_call, 718s # _org_project_callable_iface_skeleton_handle_get_property, 718s # _org_project_callable_iface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_callable_iface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_callable_iface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.OtherCallableIface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectOtherCallableIface 718s # * @title: OrgProjectOtherCallableIface 718s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 718s # { 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 718s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 718s # { 718s # { 718s # -1, 718s # (gchar *) "MethodWithManyArgs", 718s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "handle-method-with-many-args", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 718s # { 718s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.OtherCallableIface", 718s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-other-callable-iface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_other_callable_iface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_other_callable_iface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _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, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectOtherCallableIface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 718s # */ 718s # 718s # /** 718s # * OrgProjectOtherCallableIfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 718s # */ 718s # 718s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 718s # * @object: A #OrgProjectOtherCallableIface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @arg_an_b: Argument passed by remote caller. 718s # * @arg_an_y: Argument passed by remote caller. 718s # * @arg_an_n: Argument passed by remote caller. 718s # * @arg_an_q: Argument passed by remote caller. 718s # * @arg_an_i: Argument passed by remote caller. 718s # * @arg_an_u: Argument passed by remote caller. 718s # * @arg_an_x: Argument passed by remote caller. 718s # * @arg_an_t: Argument passed by remote caller. 718s # * @arg_an_d: Argument passed by remote caller. 718s # * @arg_an_s: Argument passed by remote caller. 718s # * @arg_an_o: Argument passed by remote caller. 718s # * @arg_an_g: Argument passed by remote caller. 718s # * @arg_an_h: Argument passed by remote caller. 718s # * @arg_an_ay: Argument passed by remote caller. 718s # * @arg_an_as: Argument passed by remote caller. 718s # * @arg_an_ao: Argument passed by remote caller. 718s # * @arg_an_aay: Argument passed by remote caller. 718s # * @arg_an_asv: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-method-with-many-args", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_other_callable_iface_method_marshal_method_with_many_args, 718s # G_TYPE_BOOLEAN, 718s # 19, 718s # 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); 718s # 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_call_method_with_many_args: 718s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 718s # * 718s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_other_callable_iface_call_method_with_many_args ( 718s # OrgProjectOtherCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_call_method_with_many_args_finish: 718s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_other_callable_iface_call_method_with_many_args_finish ( 718s # OrgProjectOtherCallableIface *proxy, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_call_method_with_many_args_sync: 718s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 718s # * @arg_an_b: Argument to pass with the method invocation. 718s # * @arg_an_y: Argument to pass with the method invocation. 718s # * @arg_an_n: Argument to pass with the method invocation. 718s # * @arg_an_q: Argument to pass with the method invocation. 718s # * @arg_an_i: Argument to pass with the method invocation. 718s # * @arg_an_u: Argument to pass with the method invocation. 718s # * @arg_an_x: Argument to pass with the method invocation. 718s # * @arg_an_t: Argument to pass with the method invocation. 718s # * @arg_an_d: Argument to pass with the method invocation. 718s # * @arg_an_s: Argument to pass with the method invocation. 718s # * @arg_an_o: Argument to pass with the method invocation. 718s # * @arg_an_g: Argument to pass with the method invocation. 718s # * @arg_an_h: Argument to pass with the method invocation. 718s # * @arg_an_ay: Argument to pass with the method invocation. 718s # * @arg_an_as: Argument to pass with the method invocation. 718s # * @arg_an_ao: Argument to pass with the method invocation. 718s # * @arg_an_aay: Argument to pass with the method invocation. 718s # * @arg_an_asv: Argument to pass with the method invocation. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_other_callable_iface_call_method_with_many_args_sync ( 718s # OrgProjectOtherCallableIface *proxy, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "()"); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_complete_method_with_many_args: 718s # * @object: A #OrgProjectOtherCallableIface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_other_callable_iface_complete_method_with_many_args ( 718s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("()")); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectOtherCallableIfaceProxy: 718s # * 718s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectOtherCallableIfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectOtherCallableIfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_other_callable_iface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 718s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 718s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_other_callable_iface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectOtherCallableIface * 718s # org_project_other_callable_iface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectOtherCallableIface * 718s # org_project_other_callable_iface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_other_callable_iface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectOtherCallableIface * 718s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectOtherCallableIface * 718s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectOtherCallableIfaceSkeleton: 718s # * 718s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectOtherCallableIfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_other_callable_iface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_other_callable_iface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_other_callable_iface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 718s # { 718s # _org_project_other_callable_iface_skeleton_handle_method_call, 718s # _org_project_other_callable_iface_skeleton_handle_get_property, 718s # _org_project_other_callable_iface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_other_callable_iface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_other_callable_iface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectOtherCallableIface * 718s # org_project_other_callable_iface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 718s # } 718s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 718s # tmpdir: /tmp/tmphv0gh4ei 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmphv0gh4ei/tmp5ydde3f9.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphv0gh4ei/tmp5ydde3f9.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (void *data1, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 2); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.CallableIface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectCallableIface 718s # * @title: OrgProjectCallableIface 718s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for org.project.CallableIface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 718s # { 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 718s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 718s # { 718s # { 718s # -1, 718s # (gchar *) "MethodWithManyArgs", 718s # NULL, 718s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-method-with-many-args", 718s # FALSE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 718s # { 718s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.CallableIface", 718s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-callable-iface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_callable_iface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_callable_iface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_callable_iface_method_marshal_method_with_many_args ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectCallableIface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.CallableIface. 718s # */ 718s # 718s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * OrgProjectCallableIface::handle-method-with-many-args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * 718s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-method-with-many-args", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # org_project_callable_iface_method_marshal_method_with_many_args, 718s # G_TYPE_BOOLEAN, 718s # 1, 718s # G_TYPE_DBUS_METHOD_INVOCATION); 718s # 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # org_project_callable_iface_call_method_with_many_args ( 718s # OrgProjectCallableIface *proxy, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args_finish: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_method_with_many_args_finish ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean *out_an_b, 718s # guchar *out_an_y, 718s # gint16 *out_an_n, 718s # guint16 *out_an_q, 718s # gint *out_an_i, 718s # guint *out_an_u, 718s # gint64 *out_an_x, 718s # guint64 *out_an_t, 718s # gdouble *out_an_d, 718s # gchar **out_an_s, 718s # gchar **out_an_o, 718s # gchar **out_an_g, 718s # GVariant **out_an_h, 718s # gchar **out_an_ay, 718s # gchar ***out_an_as, 718s # gchar ***out_an_ao, 718s # gchar ***out_an_aay, 718s # GVariant **out_an_asv, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # out_an_b, 718s # out_an_y, 718s # out_an_n, 718s # out_an_q, 718s # out_an_i, 718s # out_an_u, 718s # out_an_x, 718s # out_an_t, 718s # out_an_d, 718s # out_an_s, 718s # out_an_o, 718s # out_an_g, 718s # out_an_h, 718s # out_an_ay, 718s # out_an_as, 718s # out_an_ao, 718s # out_an_aay, 718s # out_an_asv); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_call_method_with_many_args_sync: 718s # * @proxy: A #OrgProjectCallableIfaceProxy. 718s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 718s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # org_project_callable_iface_call_method_with_many_args_sync ( 718s # OrgProjectCallableIface *proxy, 718s # gboolean *out_an_b, 718s # guchar *out_an_y, 718s # gint16 *out_an_n, 718s # guint16 *out_an_q, 718s # gint *out_an_i, 718s # guint *out_an_u, 718s # gint64 *out_an_x, 718s # guint64 *out_an_t, 718s # gdouble *out_an_d, 718s # gchar **out_an_s, 718s # gchar **out_an_o, 718s # gchar **out_an_g, 718s # GVariant **out_an_h, 718s # gchar **out_an_ay, 718s # gchar ***out_an_as, 718s # gchar ***out_an_ao, 718s # gchar ***out_an_aay, 718s # GVariant **out_an_asv, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 718s # "MethodWithManyArgs", 718s # g_variant_new ("()"), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # out_an_b, 718s # out_an_y, 718s # out_an_n, 718s # out_an_q, 718s # out_an_i, 718s # out_an_u, 718s # out_an_x, 718s # out_an_t, 718s # out_an_d, 718s # out_an_s, 718s # out_an_o, 718s # out_an_g, 718s # out_an_h, 718s # out_an_ay, 718s # out_an_as, 718s # out_an_ao, 718s # out_an_aay, 718s # out_an_asv); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_complete_method_with_many_args: 718s # * @object: A #OrgProjectCallableIface. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @an_b: Parameter to return. 718s # * @an_y: Parameter to return. 718s # * @an_n: Parameter to return. 718s # * @an_q: Parameter to return. 718s # * @an_i: Parameter to return. 718s # * @an_u: Parameter to return. 718s # * @an_x: Parameter to return. 718s # * @an_t: Parameter to return. 718s # * @an_d: Parameter to return. 718s # * @an_s: Parameter to return. 718s # * @an_o: Parameter to return. 718s # * @an_g: Parameter to return. 718s # * @an_h: Parameter to return. 718s # * @an_ay: Parameter to return. 718s # * @an_as: Parameter to return. 718s # * @an_ao: Parameter to return. 718s # * @an_aay: Parameter to return. 718s # * @an_asv: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # org_project_callable_iface_complete_method_with_many_args ( 718s # OrgProjectCallableIface *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # gboolean an_b, 718s # guchar an_y, 718s # gint16 an_n, 718s # guint16 an_q, 718s # gint an_i, 718s # guint an_u, 718s # gint64 an_x, 718s # guint64 an_t, 718s # gdouble an_d, 718s # const gchar *an_s, 718s # const gchar *an_o, 718s # const gchar *an_g, 718s # GVariant *an_h, 718s # const gchar *an_ay, 718s # const gchar *const *an_as, 718s # const gchar *const *an_ao, 718s # const gchar *const *an_aay, 718s # GVariant *an_asv) 718s # { 718s # g_dbus_method_invocation_return_value (invocation, 718s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # an_b, 718s # an_y, 718s # an_n, 718s # an_q, 718s # an_i, 718s # an_u, 718s # an_x, 718s # an_t, 718s # an_d, 718s # an_s, 718s # an_o, 718s # an_g, 718s # an_h, 718s # an_ay, 718s # an_as, 718s # an_ao, 718s # an_aay, 718s # an_asv)); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceProxy: 718s # * 718s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectCallableIfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectCallableIfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_callable_iface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 718s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 718s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_callable_iface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_callable_iface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_CALLABLE_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceSkeleton: 718s # * 718s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectCallableIfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectCallableIfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectCallableIfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_callable_iface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_callable_iface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_callable_iface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 718s # { 718s # _org_project_callable_iface_skeleton_handle_method_call, 718s # _org_project_callable_iface_skeleton_handle_get_property, 718s # _org_project_callable_iface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_callable_iface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_callable_iface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_callable_iface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectCallableIface * 718s # org_project_callable_iface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 718s # } 718s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 718s # tmpdir: /tmp/tmpo6mr6agc 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpo6mr6agc/tmp0fnp2f2s.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo6mr6agc/tmp0fnp2f2s.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 718s # (void *data1, 718s # GUnixFDList *arg_fd_list, 718s # GDBusMethodInvocation *arg_method_invocation, 718s # const gchar *arg_greeting, 718s # void *data2); 718s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # gboolean v_return; 718s # 718s # g_return_if_fail (return_value != NULL); 718s # g_return_if_fail (n_param_values == 4); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # v_return = 718s # callback (data1, 718s # g_marshal_value_peek_object (param_values + 1), 718s # g_marshal_value_peek_object (param_values + 2), 718s # g_marshal_value_peek_string (param_values + 3), 718s # data2); 718s # 718s # g_value_set_boolean (return_value, v_return); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface test.FDPassing 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:TestFDPassing 718s # * @title: TestFDPassing 718s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 718s # * 718s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 718s # */ 718s # 718s # /* ---- Introspection data for test.FDPassing ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 718s # { 718s # { 718s # -1, 718s # (gchar *) "greeting", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 718s # { 718s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 718s # { 718s # { 718s # -1, 718s # (gchar *) "response", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 718s # { 718s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 718s # { 718s # { 718s # -1, 718s # (gchar *) "HelloFD", 718s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 718s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 718s # NULL 718s # }, 718s # "handle-hello-fd", 718s # TRUE 718s # }; 718s # 718s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 718s # { 718s # &_test_fdpassing_method_info_hello_fd.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "test.FDPassing", 718s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 718s # NULL, 718s # NULL, 718s # NULL 718s # }, 718s # "test-fdpassing", 718s # }; 718s # 718s # 718s # /** 718s # * test_fdpassing_interface_info: 718s # * 718s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # test_fdpassing_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * test_fdpassing_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # test_fdpassing_method_marshal_hello_fd ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * TestFDPassing: 718s # * 718s # * Abstract interface type for the D-Bus interface test.FDPassing. 718s # */ 718s # 718s # /** 718s # * TestFDPassingIface: 718s # * @parent_iface: The parent interface. 718s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 718s # * 718s # * Virtual table for the D-Bus interface test.FDPassing. 718s # */ 718s # 718s # typedef TestFDPassingIface TestFDPassingInterface; 718s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 718s # 718s # static void 718s # test_fdpassing_default_init (TestFDPassingIface *iface) 718s # { 718s # /* GObject signals for incoming D-Bus method calls: */ 718s # /** 718s # * TestFDPassing::handle-hello-fd: 718s # * @object: A #TestFDPassing. 718s # * @invocation: A #GDBusMethodInvocation. 718s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 718s # * @arg_greeting: Argument passed by remote caller. 718s # * 718s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 718s # * 718s # * 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. 718s # * 718s # * 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. 718s # */ 718s # g_signal_new ("handle-hello-fd", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 718s # g_signal_accumulator_true_handled, 718s # NULL, 718s # test_fdpassing_method_marshal_hello_fd, 718s # G_TYPE_BOOLEAN, 718s # 3, 718s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 718s # 718s # } 718s # 718s # /** 718s # * test_fdpassing_call_hello_fd: 718s # * @proxy: A #TestFDPassingProxy. 718s # * @arg_greeting: Argument to pass with the method invocation. 718s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 718s # * 718s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 718s # */ 718s # void 718s # test_fdpassing_call_hello_fd ( 718s # TestFDPassing *proxy, 718s # const gchar *arg_greeting, 718s # GUnixFDList *fd_list, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 718s # "HelloFD", 718s # g_variant_new ("(s)", 718s # arg_greeting), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # fd_list, 718s # cancellable, 718s # callback, 718s # user_data); 718s # } 718s # 718s # /** 718s # * test_fdpassing_call_hello_fd_finish: 718s # * @proxy: A #TestFDPassingProxy. 718s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # test_fdpassing_call_hello_fd_finish ( 718s # TestFDPassing *proxy, 718s # gchar **out_response, 718s # GUnixFDList **out_fd_list, 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(s)", 718s # out_response); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * test_fdpassing_call_hello_fd_sync: 718s # * @proxy: A #TestFDPassingProxy. 718s # * @arg_greeting: Argument to pass with the method invocation. 718s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 718s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 718s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL. 718s # * 718s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 718s # * 718s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 718s # * 718s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 718s # */ 718s # gboolean 718s # test_fdpassing_call_hello_fd_sync ( 718s # TestFDPassing *proxy, 718s # const gchar *arg_greeting, 718s # GUnixFDList *fd_list, 718s # gchar **out_response, 718s # GUnixFDList **out_fd_list, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GVariant *_ret; 718s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 718s # "HelloFD", 718s # g_variant_new ("(s)", 718s # arg_greeting), 718s # G_DBUS_CALL_FLAGS_NONE, 718s # -1, 718s # fd_list, 718s # out_fd_list, 718s # cancellable, 718s # error); 718s # if (_ret == NULL) 718s # goto _out; 718s # g_variant_get (_ret, 718s # "(s)", 718s # out_response); 718s # g_variant_unref (_ret); 718s # _out: 718s # return _ret != NULL; 718s # } 718s # 718s # /** 718s # * test_fdpassing_complete_hello_fd: 718s # * @object: A #TestFDPassing. 718s # * @invocation: (transfer full): A #GDBusMethodInvocation. 718s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 718s # * @response: Parameter to return. 718s # * 718s # * 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. 718s # * 718s # * This method will free @invocation, you cannot use it afterwards. 718s # */ 718s # void 718s # test_fdpassing_complete_hello_fd ( 718s # TestFDPassing *object G_GNUC_UNUSED, 718s # GDBusMethodInvocation *invocation, 718s # GUnixFDList *fd_list, 718s # const gchar *response) 718s # { 718s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 718s # g_variant_new ("(s)", 718s # response), 718s # fd_list); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * TestFDPassingProxy: 718s # * 718s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * TestFDPassingProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #TestFDPassingProxy. 718s # */ 718s # 718s # struct _TestFDPassingProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (TestFDPassingProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # test_fdpassing_proxy_finalize (GObject *object) 718s # { 718s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = test_fdpassing_proxy_finalize; 718s # gobject_class->get_property = test_fdpassing_proxy_get_property; 718s # gobject_class->set_property = test_fdpassing_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 718s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * test_fdpassing_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # test_fdpassing_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * test_fdpassing_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with test_fdpassing_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # TestFDPassing * 718s # test_fdpassing_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return TEST_FDPASSING (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * test_fdpassing_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # TestFDPassing * 718s # test_fdpassing_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return TEST_FDPASSING (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * test_fdpassing_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # test_fdpassing_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * test_fdpassing_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # TestFDPassing * 718s # test_fdpassing_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return TEST_FDPASSING (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * test_fdpassing_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # TestFDPassing * 718s # test_fdpassing_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return TEST_FDPASSING (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * TestFDPassingSkeleton: 718s # * 718s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * TestFDPassingSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #TestFDPassingSkeleton. 718s # */ 718s # 718s # struct _TestFDPassingSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _test_fdpassing_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _test_fdpassing_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _test_fdpassing_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 718s # { 718s # _test_fdpassing_skeleton_handle_method_call, 718s # _test_fdpassing_skeleton_handle_get_property, 718s # _test_fdpassing_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return test_fdpassing_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (TestFDPassingSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # test_fdpassing_skeleton_finalize (GObject *object) 718s # { 718s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * test_fdpassing_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 718s # * 718s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 718s # */ 718s # TestFDPassing * 718s # test_fdpassing_skeleton_new (void) 718s # { 718s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 718s # } 718s ok 15 __main__.TestCodegen.test_generate_rst 718s # tmpdir: /tmp/tmp2cgxskkv 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmp2cgxskkv/tmpja88bv9w.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2cgxskkv/tmpja88bv9w.xml', '--generate-rst', 'test'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: 718s ok 16 __main__.TestCodegen.test_generate_rst_method 718s # tmpdir: /tmp/tmpv4i9xrz9 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpv4i9xrz9/tmpqd5ely0w.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv4i9xrz9/tmpqd5ely0w.xml', '--generate-rst', 'test'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: 718s ok 17 __main__.TestCodegen.test_generate_rst_property 718s # tmpdir: /tmp/tmpxxi6jg2o 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpxxi6jg2o/tmp7gpx22h_.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxxi6jg2o/tmp7gpx22h_.xml', '--generate-rst', 'test'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: 718s ok 18 __main__.TestCodegen.test_generate_rst_signal 718s # tmpdir: /tmp/tmpkf_zves9 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpkf_zves9/tmpown1pocs.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkf_zves9/tmpown1pocs.xml', '--generate-rst', 'test'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: 718s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 718s # tmpdir: /tmp/tmpb6av4z68 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmpb6av4z68/tmp98fy8rvd.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb6av4z68/tmp98fy8rvd.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # ret = g_variant_equal (a, b); 718s # out: 718s # return ret; 718s # } 718s # 718s # G_GNUC_UNUSED static gboolean 718s # _g_value_equal (const GValue *a, const GValue *b) 718s # { 718s # gboolean ret = FALSE; 718s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 718s # switch (G_VALUE_TYPE (a)) 718s # { 718s # case G_TYPE_BOOLEAN: 718s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 718s # break; 718s # case G_TYPE_UCHAR: 718s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 718s # break; 718s # case G_TYPE_INT: 718s # ret = (g_value_get_int (a) == g_value_get_int (b)); 718s # break; 718s # case G_TYPE_UINT: 718s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 718s # break; 718s # case G_TYPE_INT64: 718s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 718s # break; 718s # case G_TYPE_UINT64: 718s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 718s # break; 718s # case G_TYPE_DOUBLE: 718s # { 718s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 718s # gdouble da = g_value_get_double (a); 718s # gdouble db = g_value_get_double (b); 718s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 718s # } 718s # break; 718s # case G_TYPE_STRING: 718s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 718s # break; 718s # case G_TYPE_VARIANT: 718s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 718s # break; 718s # default: 718s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 718s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 718s # else 718s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 718s # break; 718s # } 718s # return ret; 718s # } 718s # 718s # static void 718s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 718s # GClosure *closure, 718s # GValue *return_value G_GNUC_UNUSED, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint G_GNUC_UNUSED, 718s # void *marshal_data) 718s # { 718s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 718s # (void *data1, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv, 718s # void *data2); 718s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 718s # GCClosure *cc = (GCClosure*) closure; 718s # void *data1, *data2; 718s # 718s # g_return_if_fail (n_param_values == 19); 718s # 718s # if (G_CCLOSURE_SWAP_DATA (closure)) 718s # { 718s # data1 = closure->data; 718s # data2 = g_value_peek_pointer (param_values + 0); 718s # } 718s # else 718s # { 718s # data1 = g_value_peek_pointer (param_values + 0); 718s # data2 = closure->data; 718s # } 718s # 718s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 718s # (marshal_data ? marshal_data : cc->callback); 718s # 718s # callback (data1, 718s # g_marshal_value_peek_boolean (param_values + 1), 718s # g_marshal_value_peek_uchar (param_values + 2), 718s # g_marshal_value_peek_int (param_values + 3), 718s # g_marshal_value_peek_uint (param_values + 4), 718s # g_marshal_value_peek_int (param_values + 5), 718s # g_marshal_value_peek_uint (param_values + 6), 718s # g_marshal_value_peek_int64 (param_values + 7), 718s # g_marshal_value_peek_uint64 (param_values + 8), 718s # g_marshal_value_peek_double (param_values + 9), 718s # g_marshal_value_peek_string (param_values + 10), 718s # g_marshal_value_peek_string (param_values + 11), 718s # g_marshal_value_peek_string (param_values + 12), 718s # g_marshal_value_peek_variant (param_values + 13), 718s # g_marshal_value_peek_string (param_values + 14), 718s # g_marshal_value_peek_boxed (param_values + 15), 718s # g_marshal_value_peek_boxed (param_values + 16), 718s # g_marshal_value_peek_boxed (param_values + 17), 718s # g_marshal_value_peek_variant (param_values + 18), 718s # data2); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ 718s # * Code for interface org.project.SignalingIface 718s # * ------------------------------------------------------------------------ 718s # */ 718s # 718s # /** 718s # * SECTION:OrgProjectSignalingIface 718s # * @title: OrgProjectSignalingIface 718s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 718s # * 718s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 718s # */ 718s # 718s # enum 718s # { 718s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 718s # }; 718s # 718s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 718s # 718s # /* ---- Introspection data for org.project.SignalingIface ---- */ 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_b", 718s # (gchar *) "b", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_y", 718s # (gchar *) "y", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_n", 718s # (gchar *) "n", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_q", 718s # (gchar *) "q", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_i", 718s # (gchar *) "i", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_u", 718s # (gchar *) "u", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_x", 718s # (gchar *) "x", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_t", 718s # (gchar *) "t", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_d", 718s # (gchar *) "d", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_s", 718s # (gchar *) "s", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_o", 718s # (gchar *) "o", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_g", 718s # (gchar *) "g", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_h", 718s # (gchar *) "h", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ay", 718s # (gchar *) "ay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_as", 718s # (gchar *) "as", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_ao", 718s # (gchar *) "ao", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_aay", 718s # (gchar *) "aay", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 718s # { 718s # { 718s # -1, 718s # (gchar *) "an_asv", 718s # (gchar *) "a{sv}", 718s # NULL 718s # }, 718s # FALSE 718s # }; 718s # 718s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 718s # { 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 718s # { 718s # { 718s # -1, 718s # (gchar *) "SignalWithManyArgs", 718s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 718s # NULL 718s # }, 718s # "signal-with-many-args" 718s # }; 718s # 718s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 718s # { 718s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 718s # NULL 718s # }; 718s # 718s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 718s # { 718s # { 718s # -1, 718s # (gchar *) "org.project.SignalingIface", 718s # NULL, 718s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 718s # NULL, 718s # NULL 718s # }, 718s # "org-project-signaling-iface", 718s # }; 718s # 718s # 718s # /** 718s # * org_project_signaling_iface_interface_info: 718s # * 718s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 718s # * 718s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 718s # */ 718s # GDBusInterfaceInfo * 718s # org_project_signaling_iface_interface_info (void) 718s # { 718s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_override_properties: 718s # * @klass: The class structure for a #GObject derived class. 718s # * @property_id_begin: The property id to assign to the first overridden property. 718s # * 718s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 718s # * The properties are overridden in the order they are defined. 718s # * 718s # * Returns: The last property id. 718s # */ 718s # guint 718s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 718s # { 718s # return property_id_begin - 1; 718s # } 718s # 718s # 718s # inline static void 718s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 718s # GClosure *closure, 718s # GValue *return_value, 718s # unsigned int n_param_values, 718s # const GValue *param_values, 718s # void *invocation_hint, 718s # void *marshal_data) 718s # { 718s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 718s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 718s # } 718s # 718s # 718s # /** 718s # * OrgProjectSignalingIface: 718s # * 718s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 718s # */ 718s # 718s # /** 718s # * OrgProjectSignalingIfaceIface: 718s # * @parent_iface: The parent interface. 718s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 718s # * 718s # * Virtual table for the D-Bus interface org.project.SignalingIface. 718s # */ 718s # 718s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 718s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 718s # 718s # static void 718s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 718s # { 718s # /* GObject signals for received D-Bus signals: */ 718s # /** 718s # * OrgProjectSignalingIface::signal-with-many-args: 718s # * @object: A #OrgProjectSignalingIface. 718s # * @arg_an_b: Argument. 718s # * @arg_an_y: Argument. 718s # * @arg_an_n: Argument. 718s # * @arg_an_q: Argument. 718s # * @arg_an_i: Argument. 718s # * @arg_an_u: Argument. 718s # * @arg_an_x: Argument. 718s # * @arg_an_t: Argument. 718s # * @arg_an_d: Argument. 718s # * @arg_an_s: Argument. 718s # * @arg_an_o: Argument. 718s # * @arg_an_g: Argument. 718s # * @arg_an_h: Argument. 718s # * @arg_an_ay: Argument. 718s # * @arg_an_as: Argument. 718s # * @arg_an_ao: Argument. 718s # * @arg_an_aay: Argument. 718s # * @arg_an_asv: Argument. 718s # * 718s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 718s # * 718s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 718s # */ 718s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 718s # g_signal_new ("signal-with-many-args", 718s # G_TYPE_FROM_INTERFACE (iface), 718s # G_SIGNAL_RUN_LAST, 718s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 718s # NULL, 718s # NULL, 718s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 718s # G_TYPE_NONE, 718s # 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); 718s # 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_emit_signal_with_many_args: 718s # * @object: A #OrgProjectSignalingIface. 718s # * @arg_an_b: Argument to pass with the signal. 718s # * @arg_an_y: Argument to pass with the signal. 718s # * @arg_an_n: Argument to pass with the signal. 718s # * @arg_an_q: Argument to pass with the signal. 718s # * @arg_an_i: Argument to pass with the signal. 718s # * @arg_an_u: Argument to pass with the signal. 718s # * @arg_an_x: Argument to pass with the signal. 718s # * @arg_an_t: Argument to pass with the signal. 718s # * @arg_an_d: Argument to pass with the signal. 718s # * @arg_an_s: Argument to pass with the signal. 718s # * @arg_an_o: Argument to pass with the signal. 718s # * @arg_an_g: Argument to pass with the signal. 718s # * @arg_an_h: Argument to pass with the signal. 718s # * @arg_an_ay: Argument to pass with the signal. 718s # * @arg_an_as: Argument to pass with the signal. 718s # * @arg_an_ao: Argument to pass with the signal. 718s # * @arg_an_aay: Argument to pass with the signal. 718s # * @arg_an_asv: Argument to pass with the signal. 718s # * 718s # * Emits the "SignalWithManyArgs" D-Bus signal. 718s # */ 718s # void 718s # org_project_signaling_iface_emit_signal_with_many_args ( 718s # OrgProjectSignalingIface *object, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv) 718s # { 718s # 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); 718s # } 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectSignalingIfaceProxy: 718s # * 718s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectSignalingIfaceProxyClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectSignalingIfaceProxy. 718s # */ 718s # 718s # struct _OrgProjectSignalingIfaceProxyPrivate 718s # { 718s # GData *qdata; 718s # }; 718s # 718s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_signaling_iface_proxy_finalize (GObject *object) 718s # { 718s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 718s # g_datalist_clear (&proxy->priv->qdata); 718s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 718s # guint prop_id G_GNUC_UNUSED, 718s # const GValue *value G_GNUC_UNUSED, 718s # GParamSpec *pspec G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 718s # const gchar *sender_name G_GNUC_UNUSED, 718s # const gchar *signal_name, 718s # GVariant *parameters) 718s # { 718s # _ExtendedGDBusSignalInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # gsize n; 718s # guint signal_id; 718s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 718s # if (info == NULL) 718s # return; 718s # num_params = g_variant_n_children (parameters); 718s # paramv = g_new0 (GValue, num_params + 1); 718s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 718s # g_value_set_object (¶mv[0], proxy); 718s # g_variant_iter_init (&iter, parameters); 718s # n = 1; 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 718s # g_signal_emitv (paramv, signal_id, 0, NULL); 718s # for (n = 0; n < num_params + 1; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 718s # GVariant *changed_properties, 718s # const gchar *const *invalidated_properties) 718s # { 718s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 718s # guint n; 718s # const gchar *key; 718s # GVariantIter *iter; 718s # _ExtendedGDBusPropertyInfo *info; 718s # g_variant_get (changed_properties, "a{sv}", &iter); 718s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 718s # g_datalist_remove_data (&proxy->priv->qdata, key); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # g_variant_iter_free (iter); 718s # for (n = 0; invalidated_properties[n] != NULL; n++) 718s # { 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 718s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 718s # if (info != NULL) 718s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 718s # } 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 718s # #else 718s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 718s # #endif 718s # 718s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusProxyClass *proxy_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 718s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 718s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 718s # 718s # proxy_class = G_DBUS_PROXY_CLASS (klass); 718s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 718s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 718s # * 718s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_signaling_iface_proxy_new ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectSignalingIface * 718s # org_project_signaling_iface_proxy_new_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_SIGNALING_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new_sync: 718s # * @connection: A #GDBusConnection. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectSignalingIface * 718s # org_project_signaling_iface_proxy_new_sync ( 718s # GDBusConnection *connection, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_SIGNALING_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new_for_bus: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 718s # * @user_data: User data to pass to @callback. 718s # * 718s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 718s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 718s # * 718s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 718s # */ 718s # void 718s # org_project_signaling_iface_proxy_new_for_bus ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GAsyncReadyCallback callback, 718s # gpointer user_data) 718s # { 718s # 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); 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new_for_bus_finish: 718s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 718s # * @error: Return location for error or %NULL 718s # * 718s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 718s # * 718s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectSignalingIface * 718s # org_project_signaling_iface_proxy_new_for_bus_finish ( 718s # GAsyncResult *res, 718s # GError **error) 718s # { 718s # GObject *ret; 718s # GObject *source_object; 718s # source_object = g_async_result_get_source_object (res); 718s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 718s # g_object_unref (source_object); 718s # if (ret != NULL) 718s # return ORG_PROJECT_SIGNALING_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_proxy_new_for_bus_sync: 718s # * @bus_type: A #GBusType. 718s # * @flags: Flags from the #GDBusProxyFlags enumeration. 718s # * @name: A bus name (well-known or unique). 718s # * @object_path: An object path. 718s # * @cancellable: (nullable): A #GCancellable or %NULL. 718s # * @error: Return location for error or %NULL 718s # * 718s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 718s # * 718s # * The calling thread is blocked until a reply is received. 718s # * 718s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 718s # * 718s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 718s # */ 718s # OrgProjectSignalingIface * 718s # org_project_signaling_iface_proxy_new_for_bus_sync ( 718s # GBusType bus_type, 718s # GDBusProxyFlags flags, 718s # const gchar *name, 718s # const gchar *object_path, 718s # GCancellable *cancellable, 718s # GError **error) 718s # { 718s # GInitable *ret; 718s # 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); 718s # if (ret != NULL) 718s # return ORG_PROJECT_SIGNALING_IFACE (ret); 718s # else 718s # return NULL; 718s # } 718s # 718s # 718s # /* ------------------------------------------------------------------------ */ 718s # 718s # /** 718s # * OrgProjectSignalingIfaceSkeleton: 718s # * 718s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 718s # */ 718s # 718s # /** 718s # * OrgProjectSignalingIfaceSkeletonClass: 718s # * @parent_class: The parent class. 718s # * 718s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 718s # */ 718s # 718s # struct _OrgProjectSignalingIfaceSkeletonPrivate 718s # { 718s # GValue *properties; 718s # GList *changed_properties; 718s # GSource *changed_properties_idle_source; 718s # GMainContext *context; 718s # GMutex lock; 718s # }; 718s # 718s # static void 718s # _org_project_signaling_iface_skeleton_handle_method_call ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name, 718s # const gchar *method_name, 718s # GVariant *parameters, 718s # GDBusMethodInvocation *invocation, 718s # gpointer user_data) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 718s # _ExtendedGDBusMethodInfo *info; 718s # GVariantIter iter; 718s # GVariant *child; 718s # GValue *paramv; 718s # gsize num_params; 718s # guint num_extra; 718s # gsize n; 718s # guint signal_id; 718s # GValue return_value = G_VALUE_INIT; 718s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 718s # g_assert (info != NULL); 718s # num_params = g_variant_n_children (parameters); 718s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 718s # n = 0; 718s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 718s # g_value_set_object (¶mv[n++], skeleton); 718s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 718s # g_value_set_object (¶mv[n++], invocation); 718s # if (info->pass_fdlist) 718s # { 718s # #ifdef G_OS_UNIX 718s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 718s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 718s # #else 718s # g_assert_not_reached (); 718s # #endif 718s # } 718s # g_variant_iter_init (&iter, parameters); 718s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 718s # { 718s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 718s # if (arg_info->use_gvariant) 718s # { 718s # g_value_init (¶mv[n], G_TYPE_VARIANT); 718s # g_value_set_variant (¶mv[n], child); 718s # n++; 718s # } 718s # else 718s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 718s # g_variant_unref (child); 718s # } 718s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 718s # g_value_init (&return_value, G_TYPE_BOOLEAN); 718s # g_signal_emitv (paramv, signal_id, 0, &return_value); 718s # if (!g_value_get_boolean (&return_value)) 718s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 718s # g_value_unset (&return_value); 718s # for (n = 0; n < num_params + num_extra; n++) 718s # g_value_unset (¶mv[n]); 718s # g_free (paramv); 718s # } 718s # 718s # static GVariant * 718s # _org_project_signaling_iface_skeleton_handle_get_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # GVariant *ret; 718s # ret = NULL; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # g_value_init (&value, pspec->value_type); 718s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 718s # g_value_unset (&value); 718s # } 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _org_project_signaling_iface_skeleton_handle_set_property ( 718s # GDBusConnection *connection G_GNUC_UNUSED, 718s # const gchar *sender G_GNUC_UNUSED, 718s # const gchar *object_path G_GNUC_UNUSED, 718s # const gchar *interface_name G_GNUC_UNUSED, 718s # const gchar *property_name, 718s # GVariant *variant, 718s # GError **error, 718s # gpointer user_data) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 718s # GValue value = G_VALUE_INIT; 718s # GParamSpec *pspec; 718s # _ExtendedGDBusPropertyInfo *info; 718s # gboolean ret; 718s # ret = FALSE; 718s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 718s # g_assert (info != NULL); 718s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 718s # if (pspec == NULL) 718s # { 718s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 718s # } 718s # else 718s # { 718s # if (info->use_gvariant) 718s # g_value_set_variant (&value, variant); 718s # else 718s # g_dbus_gvariant_to_gvalue (variant, &value); 718s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 718s # g_value_unset (&value); 718s # ret = TRUE; 718s # } 718s # return ret; 718s # } 718s # 718s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 718s # { 718s # _org_project_signaling_iface_skeleton_handle_method_call, 718s # _org_project_signaling_iface_skeleton_handle_get_property, 718s # _org_project_signaling_iface_skeleton_handle_set_property, 718s # {NULL} 718s # }; 718s # 718s # static GDBusInterfaceInfo * 718s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return org_project_signaling_iface_interface_info (); 718s # } 718s # 718s # static GDBusInterfaceVTable * 718s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 718s # { 718s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 718s # } 718s # 718s # static GVariant * 718s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 718s # 718s # GVariantBuilder builder; 718s # guint n; 718s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 718s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 718s # goto out; 718s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 718s # { 718s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 718s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 718s # { 718s # GVariant *value; 718s # 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); 718s # if (value != NULL) 718s # { 718s # g_variant_take_ref (value); 718s # g_variant_builder_add (&builder, "{sv}", info->name, value); 718s # g_variant_unref (value); 718s # } 718s # } 718s # } 718s # out: 718s # return g_variant_builder_end (&builder); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 718s # { 718s # } 718s # 718s # static void 718s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 718s # OrgProjectSignalingIface *object, 718s # gboolean arg_an_b, 718s # guchar arg_an_y, 718s # gint16 arg_an_n, 718s # guint16 arg_an_q, 718s # gint arg_an_i, 718s # guint arg_an_u, 718s # gint64 arg_an_x, 718s # guint64 arg_an_t, 718s # gdouble arg_an_d, 718s # const gchar *arg_an_s, 718s # const gchar *arg_an_o, 718s # const gchar *arg_an_g, 718s # GVariant *arg_an_h, 718s # const gchar *arg_an_ay, 718s # const gchar *const *arg_an_as, 718s # const gchar *const *arg_an_ao, 718s # const gchar *const *arg_an_aay, 718s # GVariant *arg_an_asv) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 718s # 718s # GList *connections, *l; 718s # GVariant *signal_variant; 718s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 718s # 718s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 718s # arg_an_b, 718s # arg_an_y, 718s # arg_an_n, 718s # arg_an_q, 718s # arg_an_i, 718s # arg_an_u, 718s # arg_an_x, 718s # arg_an_t, 718s # arg_an_d, 718s # arg_an_s, 718s # arg_an_o, 718s # arg_an_g, 718s # arg_an_h, 718s # arg_an_ay, 718s # arg_an_as, 718s # arg_an_ao, 718s # arg_an_aay, 718s # arg_an_asv)); 718s # for (l = connections; l != NULL; l = l->next) 718s # { 718s # GDBusConnection *connection = l->data; 718s # g_dbus_connection_emit_signal (connection, 718s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 718s # signal_variant, NULL); 718s # } 718s # g_variant_unref (signal_variant); 718s # g_list_free_full (connections, g_object_unref); 718s # } 718s # 718s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 718s # 718s # #else 718s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 718s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 718s # 718s # #endif 718s # static void 718s # org_project_signaling_iface_skeleton_finalize (GObject *object) 718s # { 718s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 718s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 718s # if (skeleton->priv->changed_properties_idle_source != NULL) 718s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 718s # g_main_context_unref (skeleton->priv->context); 718s # g_mutex_clear (&skeleton->priv->lock); 718s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 718s # { 718s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 718s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 718s # #else 718s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 718s # #endif 718s # 718s # g_mutex_init (&skeleton->priv->lock); 718s # skeleton->priv->context = g_main_context_ref_thread_default (); 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 718s # { 718s # GObjectClass *gobject_class; 718s # GDBusInterfaceSkeletonClass *skeleton_class; 718s # 718s # gobject_class = G_OBJECT_CLASS (klass); 718s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 718s # 718s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 718s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 718s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 718s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 718s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 718s # 718s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 718s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 718s # #endif 718s # } 718s # 718s # static void 718s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 718s # { 718s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 718s # } 718s # 718s # /** 718s # * org_project_signaling_iface_skeleton_new: 718s # * 718s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 718s # * 718s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 718s # */ 718s # OrgProjectSignalingIface * 718s # org_project_signaling_iface_skeleton_new (void) 718s # { 718s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 718s # } 718s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 718s # tmpdir: /tmp/tmp162c7aid 718s # codegen: /usr/bin/gdbus-codegen 718s # /tmp/tmp162c7aid/tmpxxr2297h.xml: 718s # 718s # 718s # 718s # 718s # 718s # 718s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp162c7aid/tmpxxr2297h.xml', '--output', '-', '--body'] 718s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 718s # Output: /* 718s # * This file is generated by gdbus-codegen, do not modify it. 718s # * 718s # * The license of this code is the same as for the D-Bus interface description 718s # * it was derived from. Note that it links to GLib, so must comply with the 718s # * LGPL linking clauses. 718s # */ 718s # 718s # #ifdef HAVE_CONFIG_H 718s # # include "config.h" 718s # #endif 718s # 718s # #include 718s # #ifdef G_OS_UNIX 718s # # include 718s # #endif 718s # 718s # #ifdef G_ENABLE_DEBUG 718s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 718s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 718s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 718s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 718s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 718s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 718s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 718s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 718s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 718s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 718s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 718s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 718s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 718s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 718s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 718s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 718s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 718s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 718s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 718s # #else /* !G_ENABLE_DEBUG */ 718s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 718s # * Do not access GValues directly in your code. Instead, use the 718s # * g_value_get_*() functions 718s # */ 718s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 718s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 718s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 718s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 718s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 718s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 718s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 718s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 718s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 718s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 718s # #endif /* !G_ENABLE_DEBUG */ 718s # 718s # typedef struct 718s # { 718s # GDBusArgInfo parent_struct; 718s # gboolean use_gvariant; 718s # } _ExtendedGDBusArgInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusMethodInfo parent_struct; 718s # const gchar *signal_name; 718s # gboolean pass_fdlist; 718s # } _ExtendedGDBusMethodInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusSignalInfo parent_struct; 718s # const gchar *signal_name; 718s # } _ExtendedGDBusSignalInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusPropertyInfo parent_struct; 718s # const gchar *hyphen_name; 718s # guint use_gvariant : 1; 718s # guint emits_changed_signal : 1; 718s # } _ExtendedGDBusPropertyInfo; 718s # 718s # typedef struct 718s # { 718s # GDBusInterfaceInfo parent_struct; 718s # const gchar *hyphen_name; 718s # } _ExtendedGDBusInterfaceInfo; 718s # 718s # typedef struct 718s # { 718s # const _ExtendedGDBusPropertyInfo *info; 718s # guint prop_id; 718s # GValue orig_value; /* the value before the change */ 718s # } ChangedProperty; 718s # 718s # static void 718s # _changed_property_free (ChangedProperty *data) 718s # { 718s # g_value_unset (&data->orig_value); 718s # g_free (data); 718s # } 718s # 718s # static gboolean 718s # _g_strv_equal0 (gchar **a, gchar **b) 718s # { 718s # gboolean ret = FALSE; 718s # guint n; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 718s # goto out; 718s # if (g_strv_length (a) != g_strv_length (b)) 718s # goto out; 718s # for (n = 0; a[n] != NULL; n++) 718s # if (g_strcmp0 (a[n], b[n]) != 0) 718s # goto out; 718s # ret = TRUE; 718s # out: 718s # return ret; 718s # } 718s # 718s # static gboolean 718s # _g_variant_equal0 (GVariant *a, GVariant *b) 718s # { 718s # gboolean ret = FALSE; 718s # if (a == NULL && b == NULL) 718s # { 718s # ret = TRUE; 718s # goto out; 718s # } 718s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # static void 719s # _g_dbus_codegen_marshal_VOID__INT64 ( 719s # GClosure *closure, 719s # GValue *return_value G_GNUC_UNUSED, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint G_GNUC_UNUSED, 719s # void *marshal_data) 719s # { 719s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 719s # (void *data1, 719s # gint64 arg_an_x, 719s # void *data2); 719s # _GDbusCodegenMarshalVoid_Int64Func callback; 719s # GCClosure *cc = (GCClosure*) closure; 719s # void *data1, *data2; 719s # 719s # g_return_if_fail (n_param_values == 2); 719s # 719s # if (G_CCLOSURE_SWAP_DATA (closure)) 719s # { 719s # data1 = closure->data; 719s # data2 = g_value_peek_pointer (param_values + 0); 719s # } 719s # else 719s # { 719s # data1 = g_value_peek_pointer (param_values + 0); 719s # data2 = closure->data; 719s # } 719s # 719s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 719s # (marshal_data ? marshal_data : cc->callback); 719s # 719s # callback (data1, 719s # g_marshal_value_peek_int64 (param_values + 1), 719s # data2); 719s # } 719s # 719s # static void 719s # _g_dbus_codegen_marshal_VOID__UINT64 ( 719s # GClosure *closure, 719s # GValue *return_value G_GNUC_UNUSED, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint G_GNUC_UNUSED, 719s # void *marshal_data) 719s # { 719s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 719s # (void *data1, 719s # guint64 arg_an_t, 719s # void *data2); 719s # _GDbusCodegenMarshalVoid_Uint64Func callback; 719s # GCClosure *cc = (GCClosure*) closure; 719s # void *data1, *data2; 719s # 719s # g_return_if_fail (n_param_values == 2); 719s # 719s # if (G_CCLOSURE_SWAP_DATA (closure)) 719s # { 719s # data1 = closure->data; 719s # data2 = g_value_peek_pointer (param_values + 0); 719s # } 719s # else 719s # { 719s # data1 = g_value_peek_pointer (param_values + 0); 719s # data2 = closure->data; 719s # } 719s # 719s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 719s # (marshal_data ? marshal_data : cc->callback); 719s # 719s # callback (data1, 719s # g_marshal_value_peek_uint64 (param_values + 1), 719s # data2); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "NoArgSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "no-arg-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_b", 719s # (gchar *) "b", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalB", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-b" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_y", 719s # (gchar *) "y", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalY", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-y" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_n", 719s # (gchar *) "n", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalN", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-n" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_q", 719s # (gchar *) "q", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalQ", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-q" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_i", 719s # (gchar *) "i", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalI", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-i" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_u", 719s # (gchar *) "u", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalU", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-u" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_x", 719s # (gchar *) "x", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalX", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-x" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_t", 719s # (gchar *) "t", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalT", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-t" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_d", 719s # (gchar *) "d", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalD", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-d" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_s", 719s # (gchar *) "s", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalS", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-s" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_o", 719s # (gchar *) "o", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalO", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-o" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_g", 719s # (gchar *) "g", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalG", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-g" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_h", 719s # (gchar *) "h", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalH", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-h" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_ay", 719s # (gchar *) "ay", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAY", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-ay" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_as", 719s # (gchar *) "as", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAS", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-as" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_ao", 719s # (gchar *) "ao", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAO", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-ao" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_aay", 719s # (gchar *) "aay", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAAY", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-aay" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 719s # { 719s # { 719s # -1, 719s # (gchar *) "an_asv", 719s # (gchar *) "a{sv}", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalASV", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-asv" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOOLEAN (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UCHAR (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__INT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UINT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__INT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UINT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__DOUBLE (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VARIANT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VARIANT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 719s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 719s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 719s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 719s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 719s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 719s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 719s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 719s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 719s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 719s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 719s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 719s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 719s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 719s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 719s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 719s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 719s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 719s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::no-arg-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 719s # g_signal_new ("no-arg-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_no_arg_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-b: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_b: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 719s # g_signal_new ("single-arg-signal-b", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_BOOLEAN); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-y: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_y: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 719s # g_signal_new ("single-arg-signal-y", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UCHAR); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-n: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_n: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 719s # g_signal_new ("single-arg-signal-n", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-q: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_q: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 719s # g_signal_new ("single-arg-signal-q", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-i: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_i: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 719s # g_signal_new ("single-arg-signal-i", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-u: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_u: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 719s # g_signal_new ("single-arg-signal-u", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-x: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_x: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 719s # g_signal_new ("single-arg-signal-x", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT64); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-t: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_t: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 719s # g_signal_new ("single-arg-signal-t", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT64); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-d: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_d: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 719s # g_signal_new ("single-arg-signal-d", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_DOUBLE); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-s: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_s: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 719s # g_signal_new ("single-arg-signal-s", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-o: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_o: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 719s # g_signal_new ("single-arg-signal-o", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-g: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_g: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 719s # g_signal_new ("single-arg-signal-g", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-h: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_h: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 719s # g_signal_new ("single-arg-signal-h", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_VARIANT); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-ay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_ay: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 719s # g_signal_new ("single-arg-signal-ay", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-as: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_as: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 719s # g_signal_new ("single-arg-signal-as", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-ao: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_ao: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 719s # g_signal_new ("single-arg-signal-ao", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-aay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_aay: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 719s # g_signal_new ("single-arg-signal-aay", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-asv: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_asv: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 719s # g_signal_new ("single-arg-signal-asv", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_VARIANT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_no_arg_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "NoArgSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_no_arg_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_b: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_b: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalB" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_b ( 719s # OrgProjectSignalingIface *object, 719s # gboolean arg_an_b) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_y: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_y: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalY" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_y ( 719s # OrgProjectSignalingIface *object, 719s # guchar arg_an_y) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_n: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_n: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalN" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_n ( 719s # OrgProjectSignalingIface *object, 719s # gint16 arg_an_n) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_q: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_q: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalQ" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_q ( 719s # OrgProjectSignalingIface *object, 719s # guint16 arg_an_q) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_i: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_i: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalI" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_i ( 719s # OrgProjectSignalingIface *object, 719s # gint arg_an_i) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_u: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_u: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalU" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_u ( 719s # OrgProjectSignalingIface *object, 719s # guint arg_an_u) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_x: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_x: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalX" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_x ( 719s # OrgProjectSignalingIface *object, 719s # gint64 arg_an_x) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_t: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_t: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalT" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_t ( 719s # OrgProjectSignalingIface *object, 719s # guint64 arg_an_t) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_d: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_d: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalD" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_d ( 719s # OrgProjectSignalingIface *object, 719s # gdouble arg_an_d) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_s: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_s: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalS" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_s ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_s) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_o: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_o: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalO" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_o ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_o) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_g: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_g: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalG" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_g ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_g) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_h: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_h: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalH" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_h ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_an_h) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_ay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_ay: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAY" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_ay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_ay) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_as: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_as: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAS" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_as ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_as) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_ao: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_ao: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAO" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_ao ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_ao) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_aay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_aay: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAAY" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_aay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_aay) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_asv: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_an_asv: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalASV" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_asv ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_an_asv) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_no_arg_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 719s # OrgProjectSignalingIface *object, 719s # gboolean arg_an_b) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 719s # arg_an_b)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 719s # OrgProjectSignalingIface *object, 719s # guchar arg_an_y) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 719s # arg_an_y)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 719s # OrgProjectSignalingIface *object, 719s # gint16 arg_an_n) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 719s # arg_an_n)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 719s # OrgProjectSignalingIface *object, 719s # guint16 arg_an_q) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 719s # arg_an_q)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 719s # OrgProjectSignalingIface *object, 719s # gint arg_an_i) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 719s # arg_an_i)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 719s # OrgProjectSignalingIface *object, 719s # guint arg_an_u) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 719s # arg_an_u)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 719s # OrgProjectSignalingIface *object, 719s # gint64 arg_an_x) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 719s # arg_an_x)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 719s # OrgProjectSignalingIface *object, 719s # guint64 arg_an_t) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 719s # arg_an_t)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 719s # OrgProjectSignalingIface *object, 719s # gdouble arg_an_d) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 719s # arg_an_d)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_s) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 719s # arg_an_s)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_o) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 719s # arg_an_o)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_g) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 719s # arg_an_g)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_an_h) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 719s # arg_an_h)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_an_ay) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 719s # arg_an_ay)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_as) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 719s # arg_an_as)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_ao) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 719s # arg_an_ao)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_an_aay) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 719s # arg_an_aay)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_an_asv) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 719s # arg_an_asv)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 719s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 719s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 719s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 719s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 719s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 719s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 719s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 719s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 719s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 719s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 719s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 719s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 719s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 719s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 719s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 719s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 719s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 719s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 719s # tmpdir: /tmp/tmphhsbmjfa 719s # codegen: /usr/bin/gdbus-codegen 719s # /tmp/tmphhsbmjfa/tmpfb4hf314.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphhsbmjfa/tmpfb4hf314.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.UsefulInterface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectUsefulInterface 719s # * @title: OrgProjectUsefulInterface 719s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 719s # { 719s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.UsefulInterface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-useful-interface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_useful_interface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_useful_interface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_useful_interface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectUsefulInterface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 719s # */ 719s # 719s # /** 719s # * OrgProjectUsefulInterfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 719s # */ 719s # 719s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectUsefulInterface::simple-signal: 719s # * @object: A #OrgProjectUsefulInterface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_useful_interface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_emit_simple_signal: 719s # * @object: A #OrgProjectUsefulInterface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_useful_interface_emit_simple_signal ( 719s # OrgProjectUsefulInterface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectUsefulInterfaceProxy: 719s # * 719s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectUsefulInterfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectUsefulInterfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectUsefulInterfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_useful_interface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 719s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 719s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_useful_interface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # g_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); 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectUsefulInterface * 719s # org_project_useful_interface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectUsefulInterface * 719s # org_project_useful_interface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_useful_interface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # g_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); 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectUsefulInterface * 719s # org_project_useful_interface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectUsefulInterface * 719s # org_project_useful_interface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectUsefulInterfaceSkeleton: 719s # * 719s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectUsefulInterfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_useful_interface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_useful_interface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_useful_interface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 719s # { 719s # _org_project_useful_interface_skeleton_handle_method_call, 719s # _org_project_useful_interface_skeleton_handle_get_property, 719s # _org_project_useful_interface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_useful_interface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_useful_interface_on_signal_simple_signal ( 719s # OrgProjectUsefulInterface *object) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_useful_interface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 719s # } 719s # 719s # /** 719s # * org_project_useful_interface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectUsefulInterface * 719s # org_project_useful_interface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.OtherIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectOtherIface 719s # * @title: OrgProjectOtherIface 719s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.OtherIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.OtherIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-other-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_other_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_other_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_other_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_other_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectOtherIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.OtherIface. 719s # */ 719s # 719s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectOtherIface::simple-signal: 719s # * @object: A #OrgProjectOtherIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_other_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # } 719s # 719s # /** 719s # * org_project_other_iface_emit_simple_signal: 719s # * @object: A #OrgProjectOtherIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_other_iface_emit_simple_signal ( 719s # OrgProjectOtherIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectOtherIfaceProxy: 719s # * 719s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectOtherIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectOtherIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_other_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_other_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_other_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_other_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_other_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherIface * 719s # org_project_other_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_other_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherIface * 719s # org_project_other_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_other_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_other_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_other_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherIface * 719s # org_project_other_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_other_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherIface * 719s # org_project_other_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectOtherIfaceSkeleton: 719s # * 719s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectOtherIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectOtherIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_other_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_other_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_other_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 719s # { 719s # _org_project_other_iface_skeleton_handle_method_call, 719s # _org_project_other_iface_skeleton_handle_get_property, 719s # _org_project_other_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_other_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_other_iface_on_signal_simple_signal ( 719s # OrgProjectOtherIface *object) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_other_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 719s # } 719s # 719s # /** 719s # * org_project_other_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectOtherIface * 719s # org_project_other_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 719s # } 719s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 719s # tmpdir: /tmp/tmplandtdot 719s # codegen: /usr/bin/gdbus-codegen 719s # /tmp/tmplandtdot/tmppg3cgos0.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplandtdot/tmppg3cgos0.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.OtherSignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectOtherSignalingIface 719s # * @title: OrgProjectOtherSignalingIface 719s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.OtherSignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-other-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_other_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_other_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectOtherSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 719s # */ 719s # 719s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectOtherSignalingIface::simple-signal: 719s # * @object: A #OrgProjectOtherSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_other_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectOtherSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_other_signaling_iface_emit_simple_signal ( 719s # OrgProjectOtherSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectOtherSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_other_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherSignalingIface * 719s # org_project_other_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherSignalingIface * 719s # org_project_other_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_other_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherSignalingIface * 719s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectOtherSignalingIface * 719s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectOtherSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectOtherSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_other_signaling_iface_skeleton_handle_method_call, 719s # _org_project_other_signaling_iface_skeleton_handle_get_property, 719s # _org_project_other_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_other_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_other_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectOtherSignalingIface *object) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 719s # } 719s # 719s # /** 719s # * org_project_other_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectOtherSignalingIface * 719s # org_project_other_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # Executing: glib/codegen.py.test 719s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 719s # tmpdir: /tmp/tmp5t1rif69 719s # codegen: /usr/bin/gdbus-codegen 719s # /tmp/tmp5t1rif69/tmp95mwwdfg.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp95mwwdfg.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_b", 719s # (gchar *) "b", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalB", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-b" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOOLEAN (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-b: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_b: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 719s # g_signal_new ("single-arg-signal-b", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_BOOLEAN); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_b: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_b: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalB" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_b ( 719s # OrgProjectSignalingIface *object, 719s # gboolean arg_arg_b) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 719s # OrgProjectSignalingIface *object, 719s # gboolean arg_arg_b) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 719s # arg_arg_b)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpq0oucabn.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpq0oucabn.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_y", 719s # (gchar *) "y", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalY", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-y" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UCHAR (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-y: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_y: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 719s # g_signal_new ("single-arg-signal-y", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UCHAR); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_y: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_y: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalY" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_y ( 719s # OrgProjectSignalingIface *object, 719s # guchar arg_arg_y) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 719s # OrgProjectSignalingIface *object, 719s # guchar arg_arg_y) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 719s # arg_arg_y)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp57p9j287.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp57p9j287.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_n", 719s # (gchar *) "n", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalN", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-n" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__INT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-n: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_n: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 719s # g_signal_new ("single-arg-signal-n", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_n: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_n: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalN" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_n ( 719s # OrgProjectSignalingIface *object, 719s # gint16 arg_arg_n) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 719s # OrgProjectSignalingIface *object, 719s # gint16 arg_arg_n) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 719s # arg_arg_n)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpb96cgr39.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpb96cgr39.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_q", 719s # (gchar *) "q", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalQ", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-q" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UINT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-q: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_q: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 719s # g_signal_new ("single-arg-signal-q", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_q: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_q: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalQ" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_q ( 719s # OrgProjectSignalingIface *object, 719s # guint16 arg_arg_q) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 719s # OrgProjectSignalingIface *object, 719s # guint16 arg_arg_q) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 719s # arg_arg_q)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp9wind4xo.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp9wind4xo.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_i", 719s # (gchar *) "i", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalI", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-i" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__INT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-i: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_i: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 719s # g_signal_new ("single-arg-signal-i", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_i: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_i: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalI" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_i ( 719s # OrgProjectSignalingIface *object, 719s # gint arg_arg_i) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 719s # OrgProjectSignalingIface *object, 719s # gint arg_arg_i) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 719s # arg_arg_i)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp4vd_8duj.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp4vd_8duj.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_u", 719s # (gchar *) "u", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalU", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-u" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__UINT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-u: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_u: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 719s # g_signal_new ("single-arg-signal-u", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_u: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_u: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalU" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_u ( 719s # OrgProjectSignalingIface *object, 719s # guint arg_arg_u) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 719s # OrgProjectSignalingIface *object, 719s # guint arg_arg_u) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 719s # arg_arg_u)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp1vdhtu80.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp1vdhtu80.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # static void 719s # _g_dbus_codegen_marshal_VOID__INT64 ( 719s # GClosure *closure, 719s # GValue *return_value G_GNUC_UNUSED, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint G_GNUC_UNUSED, 719s # void *marshal_data) 719s # { 719s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 719s # (void *data1, 719s # gint64 arg_arg_x, 719s # void *data2); 719s # _GDbusCodegenMarshalVoid_Int64Func callback; 719s # GCClosure *cc = (GCClosure*) closure; 719s # void *data1, *data2; 719s # 719s # g_return_if_fail (n_param_values == 2); 719s # 719s # if (G_CCLOSURE_SWAP_DATA (closure)) 719s # { 719s # data1 = closure->data; 719s # data2 = g_value_peek_pointer (param_values + 0); 719s # } 719s # else 719s # { 719s # data1 = g_value_peek_pointer (param_values + 0); 719s # data2 = closure->data; 719s # } 719s # 719s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 719s # (marshal_data ? marshal_data : cc->callback); 719s # 719s # callback (data1, 719s # g_marshal_value_peek_int64 (param_values + 1), 719s # data2); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_x", 719s # (gchar *) "x", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalX", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-x" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-x: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_x: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 719s # g_signal_new ("single-arg-signal-x", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_INT64); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_x: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_x: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalX" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_x ( 719s # OrgProjectSignalingIface *object, 719s # gint64 arg_arg_x) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 719s # OrgProjectSignalingIface *object, 719s # gint64 arg_arg_x) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 719s # arg_arg_x)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpsx_r57a2.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpsx_r57a2.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # static void 719s # _g_dbus_codegen_marshal_VOID__UINT64 ( 719s # GClosure *closure, 719s # GValue *return_value G_GNUC_UNUSED, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint G_GNUC_UNUSED, 719s # void *marshal_data) 719s # { 719s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 719s # (void *data1, 719s # guint64 arg_arg_t, 719s # void *data2); 719s # _GDbusCodegenMarshalVoid_Uint64Func callback; 719s # GCClosure *cc = (GCClosure*) closure; 719s # void *data1, *data2; 719s # 719s # g_return_if_fail (n_param_values == 2); 719s # 719s # if (G_CCLOSURE_SWAP_DATA (closure)) 719s # { 719s # data1 = closure->data; 719s # data2 = g_value_peek_pointer (param_values + 0); 719s # } 719s # else 719s # { 719s # data1 = g_value_peek_pointer (param_values + 0); 719s # data2 = closure->data; 719s # } 719s # 719s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 719s # (marshal_data ? marshal_data : cc->callback); 719s # 719s # callback (data1, 719s # g_marshal_value_peek_uint64 (param_values + 1), 719s # data2); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_t", 719s # (gchar *) "t", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalT", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-t" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-t: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_t: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 719s # g_signal_new ("single-arg-signal-t", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_UINT64); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_t: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_t: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalT" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_t ( 719s # OrgProjectSignalingIface *object, 719s # guint64 arg_arg_t) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 719s # OrgProjectSignalingIface *object, 719s # guint64 arg_arg_t) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 719s # arg_arg_t)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpn8_c6vne.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpn8_c6vne.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_d", 719s # (gchar *) "d", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalD", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-d" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__DOUBLE (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-d: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_d: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 719s # g_signal_new ("single-arg-signal-d", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_DOUBLE); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_d: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_d: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalD" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_d ( 719s # OrgProjectSignalingIface *object, 719s # gdouble arg_arg_d) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 719s # OrgProjectSignalingIface *object, 719s # gdouble arg_arg_d) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 719s # arg_arg_d)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp5qjszfwt.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp5qjszfwt.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_s", 719s # (gchar *) "s", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalS", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-s" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-s: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_s: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 719s # g_signal_new ("single-arg-signal-s", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_s: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_s: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalS" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_s ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_s) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_s) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 719s # arg_arg_s)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmptdb2d3n7.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmptdb2d3n7.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_o", 719s # (gchar *) "o", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalO", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-o" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-o: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_o: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 719s # g_signal_new ("single-arg-signal-o", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_o: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_o: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalO" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_o ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_o) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_o) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 719s # arg_arg_o)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp1_2o4f96.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp1_2o4f96.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_g", 719s # (gchar *) "g", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalG", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-g" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-g: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_g: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 719s # g_signal_new ("single-arg-signal-g", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_g: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_g: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalG" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_g ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_g) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_g) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 719s # arg_arg_g)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpp110tx4u.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpp110tx4u.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_h", 719s # (gchar *) "h", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalH", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-h" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VARIANT (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-h: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_h: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 719s # g_signal_new ("single-arg-signal-h", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_VARIANT); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_h: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_h: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalH" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_h ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_arg_h) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 719s # OrgProjectSignalingIface *object, 719s # GVariant *arg_arg_h) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 719s # arg_arg_h)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpb4317lvb.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpb4317lvb.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_ay", 719s # (gchar *) "ay", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAy", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-ay" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__STRING (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-ay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_ay: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 719s # g_signal_new ("single-arg-signal-ay", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRING); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_ay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_ay: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAy" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_ay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_ay) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *arg_arg_ay) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 719s # arg_arg_ay)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmpyu8zdevj.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpyu8zdevj.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_as", 719s # (gchar *) "as", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAs", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-as" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-as: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_as: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 719s # g_signal_new ("single-arg-signal-as", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_as: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_as: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAs" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_as ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_arg_as) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_arg_as) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 719s # arg_arg_as)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp_1b3ky0j.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp_1b3ky0j.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_ao", 719s # (gchar *) "ao", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAo", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-ao" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-ao: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_ao: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 719s # g_signal_new ("single-arg-signal-ao", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_ao: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_ao: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAo" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_ao ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_arg_ao) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_sync: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_sync ( 719s # GDBusConnection *connection, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 719s # * @user_data: User data to pass to @callback. 719s # * 719s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 719s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 719s # */ 719s # void 719s # org_project_signaling_iface_proxy_new_for_bus ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GAsyncReadyCallback callback, 719s # gpointer user_data) 719s # { 719s # 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); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_finish: 719s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 719s # * @error: Return location for error or %NULL 719s # * 719s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_finish ( 719s # GAsyncResult *res, 719s # GError **error) 719s # { 719s # GObject *ret; 719s # GObject *source_object; 719s # source_object = g_async_result_get_source_object (res); 719s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 719s # g_object_unref (source_object); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new_for_bus_sync: 719s # * @bus_type: A #GBusType. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: A bus name (well-known or unique). 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 719s # * @error: Return location for error or %NULL 719s # * 719s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 719s # * 719s # * The calling thread is blocked until a reply is received. 719s # * 719s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_proxy_new_for_bus_sync ( 719s # GBusType bus_type, 719s # GDBusProxyFlags flags, 719s # const gchar *name, 719s # const gchar *object_path, 719s # GCancellable *cancellable, 719s # GError **error) 719s # { 719s # GInitable *ret; 719s # 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); 719s # if (ret != NULL) 719s # return ORG_PROJECT_SIGNALING_IFACE (ret); 719s # else 719s # return NULL; 719s # } 719s # 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeleton: 719s # * 719s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceSkeletonClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceSkeletonPrivate 719s # { 719s # GValue *properties; 719s # GList *changed_properties; 719s # GSource *changed_properties_idle_source; 719s # GMainContext *context; 719s # GMutex lock; 719s # }; 719s # 719s # static void 719s # _org_project_signaling_iface_skeleton_handle_method_call ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name, 719s # const gchar *method_name, 719s # GVariant *parameters, 719s # GDBusMethodInvocation *invocation, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # _ExtendedGDBusMethodInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # guint num_extra; 719s # gsize n; 719s # guint signal_id; 719s # GValue return_value = G_VALUE_INIT; 719s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 719s # g_assert (info != NULL); 719s # num_params = g_variant_n_children (parameters); 719s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 719s # n = 0; 719s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[n++], skeleton); 719s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 719s # g_value_set_object (¶mv[n++], invocation); 719s # if (info->pass_fdlist) 719s # { 719s # #ifdef G_OS_UNIX 719s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 719s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 719s # #else 719s # g_assert_not_reached (); 719s # #endif 719s # } 719s # g_variant_iter_init (&iter, parameters); 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_init (&return_value, G_TYPE_BOOLEAN); 719s # g_signal_emitv (paramv, signal_id, 0, &return_value); 719s # if (!g_value_get_boolean (&return_value)) 719s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 719s # g_value_unset (&return_value); 719s # for (n = 0; n < num_params + num_extra; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static GVariant * 719s # _org_project_signaling_iface_skeleton_handle_get_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # GVariant *ret; 719s # ret = NULL; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # g_value_init (&value, pspec->value_type); 719s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 719s # g_value_unset (&value); 719s # } 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _org_project_signaling_iface_skeleton_handle_set_property ( 719s # GDBusConnection *connection G_GNUC_UNUSED, 719s # const gchar *sender G_GNUC_UNUSED, 719s # const gchar *object_path G_GNUC_UNUSED, 719s # const gchar *interface_name G_GNUC_UNUSED, 719s # const gchar *property_name, 719s # GVariant *variant, 719s # GError **error, 719s # gpointer user_data) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 719s # GValue value = G_VALUE_INIT; 719s # GParamSpec *pspec; 719s # _ExtendedGDBusPropertyInfo *info; 719s # gboolean ret; 719s # ret = FALSE; 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 719s # g_assert (info != NULL); 719s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 719s # if (pspec == NULL) 719s # { 719s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 719s # } 719s # else 719s # { 719s # if (info->use_gvariant) 719s # g_value_set_variant (&value, variant); 719s # else 719s # g_dbus_gvariant_to_gvalue (variant, &value); 719s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 719s # g_value_unset (&value); 719s # ret = TRUE; 719s # } 719s # return ret; 719s # } 719s # 719s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 719s # { 719s # _org_project_signaling_iface_skeleton_handle_method_call, 719s # _org_project_signaling_iface_skeleton_handle_get_property, 719s # _org_project_signaling_iface_skeleton_handle_set_property, 719s # {NULL} 719s # }; 719s # 719s # static GDBusInterfaceInfo * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return org_project_signaling_iface_interface_info (); 719s # } 719s # 719s # static GDBusInterfaceVTable * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 719s # { 719s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 719s # } 719s # 719s # static GVariant * 719s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 719s # 719s # GVariantBuilder builder; 719s # guint n; 719s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 719s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 719s # goto out; 719s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 719s # { 719s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 719s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 719s # { 719s # GVariant *value; 719s # 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); 719s # if (value != NULL) 719s # { 719s # g_variant_take_ref (value); 719s # g_variant_builder_add (&builder, "{sv}", info->name, value); 719s # g_variant_unref (value); 719s # } 719s # } 719s # } 719s # out: 719s # return g_variant_builder_end (&builder); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void 719s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_arg_ao) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # 719s # GList *connections, *l; 719s # GVariant *signal_variant; 719s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 719s # 719s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 719s # arg_arg_ao)); 719s # for (l = connections; l != NULL; l = l->next) 719s # { 719s # GDBusConnection *connection = l->data; 719s # g_dbus_connection_emit_signal (connection, 719s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 719s # signal_variant, NULL); 719s # } 719s # g_variant_unref (signal_variant); 719s # g_list_free_full (connections, g_object_unref); 719s # } 719s # 719s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_skeleton_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 719s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 719s # if (skeleton->priv->changed_properties_idle_source != NULL) 719s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 719s # g_main_context_unref (skeleton->priv->context); 719s # g_mutex_clear (&skeleton->priv->lock); 719s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 719s # #else 719s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 719s # #endif 719s # 719s # g_mutex_init (&skeleton->priv->lock); 719s # skeleton->priv->context = g_main_context_ref_thread_default (); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusInterfaceSkeletonClass *skeleton_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 719s # 719s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 719s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 719s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 719s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 719s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 719s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_skeleton_new: 719s # * 719s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 719s # * 719s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 719s # */ 719s # OrgProjectSignalingIface * 719s # org_project_signaling_iface_skeleton_new (void) 719s # { 719s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 719s # } 719s # /tmp/tmp5t1rif69/tmp4nzskee6.xml: 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # 719s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmp4nzskee6.xml', '--output', '-', '--body'] 719s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 719s # Output: /* 719s # * This file is generated by gdbus-codegen, do not modify it. 719s # * 719s # * The license of this code is the same as for the D-Bus interface description 719s # * it was derived from. Note that it links to GLib, so must comply with the 719s # * LGPL linking clauses. 719s # */ 719s # 719s # #ifdef HAVE_CONFIG_H 719s # # include "config.h" 719s # #endif 719s # 719s # #include 719s # #ifdef G_OS_UNIX 719s # # include 719s # #endif 719s # 719s # #ifdef G_ENABLE_DEBUG 719s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 719s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 719s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 719s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 719s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 719s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 719s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 719s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 719s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 719s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 719s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 719s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 719s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 719s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 719s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 719s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 719s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 719s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 719s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 719s # #else /* !G_ENABLE_DEBUG */ 719s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 719s # * Do not access GValues directly in your code. Instead, use the 719s # * g_value_get_*() functions 719s # */ 719s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 719s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 719s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 719s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 719s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 719s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 719s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 719s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 719s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 719s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 719s # #endif /* !G_ENABLE_DEBUG */ 719s # 719s # typedef struct 719s # { 719s # GDBusArgInfo parent_struct; 719s # gboolean use_gvariant; 719s # } _ExtendedGDBusArgInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusMethodInfo parent_struct; 719s # const gchar *signal_name; 719s # gboolean pass_fdlist; 719s # } _ExtendedGDBusMethodInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusSignalInfo parent_struct; 719s # const gchar *signal_name; 719s # } _ExtendedGDBusSignalInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusPropertyInfo parent_struct; 719s # const gchar *hyphen_name; 719s # guint use_gvariant : 1; 719s # guint emits_changed_signal : 1; 719s # } _ExtendedGDBusPropertyInfo; 719s # 719s # typedef struct 719s # { 719s # GDBusInterfaceInfo parent_struct; 719s # const gchar *hyphen_name; 719s # } _ExtendedGDBusInterfaceInfo; 719s # 719s # typedef struct 719s # { 719s # const _ExtendedGDBusPropertyInfo *info; 719s # guint prop_id; 719s # GValue orig_value; /* the value before the change */ 719s # } ChangedProperty; 719s # 719s # static void 719s # _changed_property_free (ChangedProperty *data) 719s # { 719s # g_value_unset (&data->orig_value); 719s # g_free (data); 719s # } 719s # 719s # static gboolean 719s # _g_strv_equal0 (gchar **a, gchar **b) 719s # { 719s # gboolean ret = FALSE; 719s # guint n; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # if (g_strv_length (a) != g_strv_length (b)) 719s # goto out; 719s # for (n = 0; a[n] != NULL; n++) 719s # if (g_strcmp0 (a[n], b[n]) != 0) 719s # goto out; 719s # ret = TRUE; 719s # out: 719s # return ret; 719s # } 719s # 719s # static gboolean 719s # _g_variant_equal0 (GVariant *a, GVariant *b) 719s # { 719s # gboolean ret = FALSE; 719s # if (a == NULL && b == NULL) 719s # { 719s # ret = TRUE; 719s # goto out; 719s # } 719s # if (a == NULL || b == NULL) 719s # goto out; 719s # ret = g_variant_equal (a, b); 719s # out: 719s # return ret; 719s # } 719s # 719s # G_GNUC_UNUSED static gboolean 719s # _g_value_equal (const GValue *a, const GValue *b) 719s # { 719s # gboolean ret = FALSE; 719s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 719s # switch (G_VALUE_TYPE (a)) 719s # { 719s # case G_TYPE_BOOLEAN: 719s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 719s # break; 719s # case G_TYPE_UCHAR: 719s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 719s # break; 719s # case G_TYPE_INT: 719s # ret = (g_value_get_int (a) == g_value_get_int (b)); 719s # break; 719s # case G_TYPE_UINT: 719s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 719s # break; 719s # case G_TYPE_INT64: 719s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 719s # break; 719s # case G_TYPE_UINT64: 719s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 719s # break; 719s # case G_TYPE_DOUBLE: 719s # { 719s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 719s # gdouble da = g_value_get_double (a); 719s # gdouble db = g_value_get_double (b); 719s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 719s # } 719s # break; 719s # case G_TYPE_STRING: 719s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 719s # break; 719s # case G_TYPE_VARIANT: 719s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 719s # break; 719s # default: 719s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 719s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 719s # else 719s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 719s # break; 719s # } 719s # return ret; 719s # } 719s # 719s # /* ------------------------------------------------------------------------ 719s # * Code for interface org.project.SignalingIface 719s # * ------------------------------------------------------------------------ 719s # */ 719s # 719s # /** 719s # * SECTION:OrgProjectSignalingIface 719s # * @title: OrgProjectSignalingIface 719s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 719s # * 719s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 719s # */ 719s # 719s # enum 719s # { 719s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 719s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 719s # }; 719s # 719s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 719s # 719s # /* ---- Introspection data for org.project.SignalingIface ---- */ 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SimpleSignal", 719s # NULL, 719s # NULL 719s # }, 719s # "simple-signal" 719s # }; 719s # 719s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "arg_aay", 719s # (gchar *) "aay", 719s # NULL 719s # }, 719s # FALSE 719s # }; 719s # 719s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 719s # { 719s # { 719s # -1, 719s # (gchar *) "SingleArgSignalAay", 719s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 719s # NULL 719s # }, 719s # "single-arg-signal-aay" 719s # }; 719s # 719s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 719s # { 719s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 719s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 719s # NULL 719s # }; 719s # 719s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 719s # { 719s # { 719s # -1, 719s # (gchar *) "org.project.SignalingIface", 719s # NULL, 719s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 719s # NULL, 719s # NULL 719s # }, 719s # "org-project-signaling-iface", 719s # }; 719s # 719s # 719s # /** 719s # * org_project_signaling_iface_interface_info: 719s # * 719s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 719s # * 719s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 719s # */ 719s # GDBusInterfaceInfo * 719s # org_project_signaling_iface_interface_info (void) 719s # { 719s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_override_properties: 719s # * @klass: The class structure for a #GObject derived class. 719s # * @property_id_begin: The property id to assign to the first overridden property. 719s # * 719s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 719s # * The properties are overridden in the order they are defined. 719s # * 719s # * Returns: The last property id. 719s # */ 719s # guint 719s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 719s # { 719s # return property_id_begin - 1; 719s # } 719s # 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_simple_signal ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__VOID (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # inline static void 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 719s # GClosure *closure, 719s # GValue *return_value, 719s # unsigned int n_param_values, 719s # const GValue *param_values, 719s # void *invocation_hint, 719s # void *marshal_data) 719s # { 719s # g_cclosure_marshal_VOID__BOXED (closure, 719s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 719s # } 719s # 719s # 719s # /** 719s # * OrgProjectSignalingIface: 719s # * 719s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceIface: 719s # * @parent_iface: The parent interface. 719s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 719s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 719s # * 719s # * Virtual table for the D-Bus interface org.project.SignalingIface. 719s # */ 719s # 719s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 719s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 719s # 719s # static void 719s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 719s # { 719s # /* GObject signals for received D-Bus signals: */ 719s # /** 719s # * OrgProjectSignalingIface::simple-signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 719s # g_signal_new ("simple-signal", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_simple_signal, 719s # G_TYPE_NONE, 719s # 0); 719s # 719s # /** 719s # * OrgProjectSignalingIface::single-arg-signal-aay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_aay: Argument. 719s # * 719s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 719s # * 719s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 719s # */ 719s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 719s # g_signal_new ("single-arg-signal-aay", 719s # G_TYPE_FROM_INTERFACE (iface), 719s # G_SIGNAL_RUN_LAST, 719s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 719s # NULL, 719s # NULL, 719s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 719s # G_TYPE_NONE, 719s # 1, G_TYPE_STRV); 719s # 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_simple_signal: 719s # * @object: A #OrgProjectSignalingIface. 719s # * 719s # * Emits the "SimpleSignal" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_simple_signal ( 719s # OrgProjectSignalingIface *object) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_emit_single_arg_signal_aay: 719s # * @object: A #OrgProjectSignalingIface. 719s # * @arg_arg_aay: Argument to pass with the signal. 719s # * 719s # * Emits the "SingleArgSignalAay" D-Bus signal. 719s # */ 719s # void 719s # org_project_signaling_iface_emit_single_arg_signal_aay ( 719s # OrgProjectSignalingIface *object, 719s # const gchar *const *arg_arg_aay) 719s # { 719s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 719s # } 719s # 719s # /* ------------------------------------------------------------------------ */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxy: 719s # * 719s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 719s # */ 719s # 719s # /** 719s # * OrgProjectSignalingIfaceProxyClass: 719s # * @parent_class: The parent class. 719s # * 719s # * Class structure for #OrgProjectSignalingIfaceProxy. 719s # */ 719s # 719s # struct _OrgProjectSignalingIfaceProxyPrivate 719s # { 719s # GData *qdata; 719s # }; 719s # 719s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #else 719s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 719s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 719s # 719s # #endif 719s # static void 719s # org_project_signaling_iface_proxy_finalize (GObject *object) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 719s # g_datalist_clear (&proxy->priv->qdata); 719s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 719s # guint prop_id G_GNUC_UNUSED, 719s # const GValue *value G_GNUC_UNUSED, 719s # GParamSpec *pspec G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 719s # const gchar *sender_name G_GNUC_UNUSED, 719s # const gchar *signal_name, 719s # GVariant *parameters) 719s # { 719s # _ExtendedGDBusSignalInfo *info; 719s # GVariantIter iter; 719s # GVariant *child; 719s # GValue *paramv; 719s # gsize num_params; 719s # gsize n; 719s # guint signal_id; 719s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 719s # if (info == NULL) 719s # return; 719s # num_params = g_variant_n_children (parameters); 719s # paramv = g_new0 (GValue, num_params + 1); 719s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_value_set_object (¶mv[0], proxy); 719s # g_variant_iter_init (&iter, parameters); 719s # n = 1; 719s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 719s # { 719s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 719s # if (arg_info->use_gvariant) 719s # { 719s # g_value_init (¶mv[n], G_TYPE_VARIANT); 719s # g_value_set_variant (¶mv[n], child); 719s # n++; 719s # } 719s # else 719s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 719s # g_variant_unref (child); 719s # } 719s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 719s # g_signal_emitv (paramv, signal_id, 0, NULL); 719s # for (n = 0; n < num_params + 1; n++) 719s # g_value_unset (¶mv[n]); 719s # g_free (paramv); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 719s # GVariant *changed_properties, 719s # const gchar *const *invalidated_properties) 719s # { 719s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 719s # guint n; 719s # const gchar *key; 719s # GVariantIter *iter; 719s # _ExtendedGDBusPropertyInfo *info; 719s # g_variant_get (changed_properties, "a{sv}", &iter); 719s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 719s # g_datalist_remove_data (&proxy->priv->qdata, key); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # g_variant_iter_free (iter); 719s # for (n = 0; invalidated_properties[n] != NULL; n++) 719s # { 719s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 719s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 719s # if (info != NULL) 719s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 719s # } 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 719s # { 719s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 719s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 719s # #else 719s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 719s # #endif 719s # 719s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 719s # { 719s # GObjectClass *gobject_class; 719s # GDBusProxyClass *proxy_class; 719s # 719s # gobject_class = G_OBJECT_CLASS (klass); 719s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 719s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 719s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 719s # 719s # proxy_class = G_DBUS_PROXY_CLASS (klass); 719s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 719s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 719s # 719s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 719s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 719s # #endif 719s # } 719s # 719s # static void 719s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 719s # { 719s # } 719s # 719s # /** 719s # * org_project_signaling_iface_proxy_new: 719s # * @connection: A #GDBusConnection. 719s # * @flags: Flags from the #GDBusProxyFlags enumeration. 719s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 719s # * @object_path: An object path. 719s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeleton: 720s # * 720s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 720s # */ 720s # 720s # struct _OrgProjectSignalingIfaceSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _org_project_signaling_iface_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _org_project_signaling_iface_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _org_project_signaling_iface_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 720s # { 720s # _org_project_signaling_iface_skeleton_handle_method_call, 720s # _org_project_signaling_iface_skeleton_handle_get_property, 720s # _org_project_signaling_iface_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return org_project_signaling_iface_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_simple_signal ( 720s # OrgProjectSignalingIface *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 720s # OrgProjectSignalingIface *object, 720s # const gchar *const *arg_arg_aay) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 720s # arg_arg_aay)); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_signaling_iface_skeleton_finalize (GObject *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 720s # { 720s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 720s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_skeleton_new (void) 720s # { 720s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 720s # } 720s # /tmp/tmp5t1rif69/tmpifm39lhn.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t1rif69/tmpifm39lhn.xml', '--output', '-', '--body'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifdef HAVE_CONFIG_H 720s # # include "config.h" 720s # #endif 720s # 720s # #include 720s # #ifdef G_OS_UNIX 720s # # include 720s # #endif 720s # 720s # #ifdef G_ENABLE_DEBUG 720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 720s # #else /* !G_ENABLE_DEBUG */ 720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 720s # * Do not access GValues directly in your code. Instead, use the 720s # * g_value_get_*() functions 720s # */ 720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 720s # #endif /* !G_ENABLE_DEBUG */ 720s # 720s # typedef struct 720s # { 720s # GDBusArgInfo parent_struct; 720s # gboolean use_gvariant; 720s # } _ExtendedGDBusArgInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusMethodInfo parent_struct; 720s # const gchar *signal_name; 720s # gboolean pass_fdlist; 720s # } _ExtendedGDBusMethodInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusSignalInfo parent_struct; 720s # const gchar *signal_name; 720s # } _ExtendedGDBusSignalInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusPropertyInfo parent_struct; 720s # const gchar *hyphen_name; 720s # guint use_gvariant : 1; 720s # guint emits_changed_signal : 1; 720s # } _ExtendedGDBusPropertyInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusInterfaceInfo parent_struct; 720s # const gchar *hyphen_name; 720s # } _ExtendedGDBusInterfaceInfo; 720s # 720s # typedef struct 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # guint prop_id; 720s # GValue orig_value; /* the value before the change */ 720s # } ChangedProperty; 720s # 720s # static void 720s # _changed_property_free (ChangedProperty *data) 720s # { 720s # g_value_unset (&data->orig_value); 720s # g_free (data); 720s # } 720s # 720s # static gboolean 720s # _g_strv_equal0 (gchar **a, gchar **b) 720s # { 720s # gboolean ret = FALSE; 720s # guint n; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # if (g_strv_length (a) != g_strv_length (b)) 720s # goto out; 720s # for (n = 0; a[n] != NULL; n++) 720s # if (g_strcmp0 (a[n], b[n]) != 0) 720s # goto out; 720s # ret = TRUE; 720s # out: 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _g_variant_equal0 (GVariant *a, GVariant *b) 720s # { 720s # gboolean ret = FALSE; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # ret = g_variant_equal (a, b); 720s # out: 720s # return ret; 720s # } 720s # 720s # G_GNUC_UNUSED static gboolean 720s # _g_value_equal (const GValue *a, const GValue *b) 720s # { 720s # gboolean ret = FALSE; 720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 720s # switch (G_VALUE_TYPE (a)) 720s # { 720s # case G_TYPE_BOOLEAN: 720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 720s # break; 720s # case G_TYPE_UCHAR: 720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 720s # break; 720s # case G_TYPE_INT: 720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 720s # break; 720s # case G_TYPE_UINT: 720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 720s # break; 720s # case G_TYPE_INT64: 720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 720s # break; 720s # case G_TYPE_UINT64: 720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 720s # break; 720s # case G_TYPE_DOUBLE: 720s # { 720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 720s # gdouble da = g_value_get_double (a); 720s # gdouble db = g_value_get_double (b); 720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 720s # } 720s # break; 720s # case G_TYPE_STRING: 720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 720s # break; 720s # case G_TYPE_VARIANT: 720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 720s # break; 720s # default: 720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 720s # else 720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 720s # break; 720s # } 720s # return ret; 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface org.project.SignalingIface 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:OrgProjectSignalingIface 720s # * @title: OrgProjectSignalingIface 720s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 720s # * 720s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 720s # */ 720s # 720s # enum 720s # { 720s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 720s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 720s # }; 720s # 720s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 720s # 720s # /* ---- Introspection data for org.project.SignalingIface ---- */ 720s # 720s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 720s # { 720s # { 720s # -1, 720s # (gchar *) "SimpleSignal", 720s # NULL, 720s # NULL 720s # }, 720s # "simple-signal" 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 720s # { 720s # { 720s # -1, 720s # (gchar *) "arg_asv", 720s # (gchar *) "a{sv}", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 720s # { 720s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 720s # { 720s # { 720s # -1, 720s # (gchar *) "SingleArgSignalAsv", 720s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 720s # NULL 720s # }, 720s # "single-arg-signal-asv" 720s # }; 720s # 720s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 720s # { 720s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 720s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "org.project.SignalingIface", 720s # NULL, 720s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 720s # NULL, 720s # NULL 720s # }, 720s # "org-project-signaling-iface", 720s # }; 720s # 720s # 720s # /** 720s # * org_project_signaling_iface_interface_info: 720s # * 720s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # org_project_signaling_iface_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 720s # { 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # org_project_signaling_iface_signal_marshal_simple_signal ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # g_cclosure_marshal_VOID__VOID (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # g_cclosure_marshal_VOID__VARIANT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * OrgProjectSignalingIface: 720s # * 720s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceIface: 720s # * @parent_iface: The parent interface. 720s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 720s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 720s # * 720s # * Virtual table for the D-Bus interface org.project.SignalingIface. 720s # */ 720s # 720s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 720s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 720s # 720s # static void 720s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 720s # { 720s # /* GObject signals for received D-Bus signals: */ 720s # /** 720s # * OrgProjectSignalingIface::simple-signal: 720s # * @object: A #OrgProjectSignalingIface. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 720s # g_signal_new ("simple-signal", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 720s # NULL, 720s # NULL, 720s # org_project_signaling_iface_signal_marshal_simple_signal, 720s # G_TYPE_NONE, 720s # 0); 720s # 720s # /** 720s # * OrgProjectSignalingIface::single-arg-signal-asv: 720s # * @object: A #OrgProjectSignalingIface. 720s # * @arg_arg_asv: Argument. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 720s # g_signal_new ("single-arg-signal-asv", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 720s # NULL, 720s # NULL, 720s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 720s # G_TYPE_NONE, 720s # 1, G_TYPE_VARIANT); 720s # 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_emit_simple_signal: 720s # * @object: A #OrgProjectSignalingIface. 720s # * 720s # * Emits the "SimpleSignal" D-Bus signal. 720s # */ 720s # void 720s # org_project_signaling_iface_emit_simple_signal ( 720s # OrgProjectSignalingIface *object) 720s # { 720s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_emit_single_arg_signal_asv: 720s # * @object: A #OrgProjectSignalingIface. 720s # * @arg_arg_asv: Argument to pass with the signal. 720s # * 720s # * Emits the "SingleArgSignalAsv" D-Bus signal. 720s # */ 720s # void 720s # org_project_signaling_iface_emit_single_arg_signal_asv ( 720s # OrgProjectSignalingIface *object, 720s # GVariant *arg_arg_asv) 720s # { 720s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceProxy: 720s # * 720s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectSignalingIfaceProxy. 720s # */ 720s # 720s # struct _OrgProjectSignalingIfaceProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_signaling_iface_proxy_finalize (GObject *object) 720s # { 720s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # const GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 720s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 720s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 720s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeleton: 720s # * 720s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 720s # */ 720s # 720s # struct _OrgProjectSignalingIfaceSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _org_project_signaling_iface_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _org_project_signaling_iface_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _org_project_signaling_iface_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 720s # { 720s # _org_project_signaling_iface_skeleton_handle_method_call, 720s # _org_project_signaling_iface_skeleton_handle_get_property, 720s # _org_project_signaling_iface_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return org_project_signaling_iface_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_simple_signal ( 720s # OrgProjectSignalingIface *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 720s # OrgProjectSignalingIface *object, 720s # GVariant *arg_arg_asv) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 720s # arg_arg_asv)); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_signaling_iface_skeleton_finalize (GObject *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 720s # { 720s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 720s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_skeleton_new (void) 720s # { 720s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 720s # } 720s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 720s # tmpdir: /tmp/tmpnw1ycn3b 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpnw1ycn3b/tmpo75_iq7e.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnw1ycn3b/tmpo75_iq7e.xml', '--output', '-', '--body'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifdef HAVE_CONFIG_H 720s # # include "config.h" 720s # #endif 720s # 720s # #include 720s # #ifdef G_OS_UNIX 720s # # include 720s # #endif 720s # 720s # #ifdef G_ENABLE_DEBUG 720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 720s # #else /* !G_ENABLE_DEBUG */ 720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 720s # * Do not access GValues directly in your code. Instead, use the 720s # * g_value_get_*() functions 720s # */ 720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 720s # #endif /* !G_ENABLE_DEBUG */ 720s # 720s # typedef struct 720s # { 720s # GDBusArgInfo parent_struct; 720s # gboolean use_gvariant; 720s # } _ExtendedGDBusArgInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusMethodInfo parent_struct; 720s # const gchar *signal_name; 720s # gboolean pass_fdlist; 720s # } _ExtendedGDBusMethodInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusSignalInfo parent_struct; 720s # const gchar *signal_name; 720s # } _ExtendedGDBusSignalInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusPropertyInfo parent_struct; 720s # const gchar *hyphen_name; 720s # guint use_gvariant : 1; 720s # guint emits_changed_signal : 1; 720s # } _ExtendedGDBusPropertyInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusInterfaceInfo parent_struct; 720s # const gchar *hyphen_name; 720s # } _ExtendedGDBusInterfaceInfo; 720s # 720s # typedef struct 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # guint prop_id; 720s # GValue orig_value; /* the value before the change */ 720s # } ChangedProperty; 720s # 720s # static void 720s # _changed_property_free (ChangedProperty *data) 720s # { 720s # g_value_unset (&data->orig_value); 720s # g_free (data); 720s # } 720s # 720s # static gboolean 720s # _g_strv_equal0 (gchar **a, gchar **b) 720s # { 720s # gboolean ret = FALSE; 720s # guint n; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # if (g_strv_length (a) != g_strv_length (b)) 720s # goto out; 720s # for (n = 0; a[n] != NULL; n++) 720s # if (g_strcmp0 (a[n], b[n]) != 0) 720s # goto out; 720s # ret = TRUE; 720s # out: 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _g_variant_equal0 (GVariant *a, GVariant *b) 720s # { 720s # gboolean ret = FALSE; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # ret = g_variant_equal (a, b); 720s # out: 720s # return ret; 720s # } 720s # 720s # G_GNUC_UNUSED static gboolean 720s # _g_value_equal (const GValue *a, const GValue *b) 720s # { 720s # gboolean ret = FALSE; 720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 720s # switch (G_VALUE_TYPE (a)) 720s # { 720s # case G_TYPE_BOOLEAN: 720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 720s # break; 720s # case G_TYPE_UCHAR: 720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 720s # break; 720s # case G_TYPE_INT: 720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 720s # break; 720s # case G_TYPE_UINT: 720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 720s # break; 720s # case G_TYPE_INT64: 720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 720s # break; 720s # case G_TYPE_UINT64: 720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 720s # break; 720s # case G_TYPE_DOUBLE: 720s # { 720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 720s # gdouble da = g_value_get_double (a); 720s # gdouble db = g_value_get_double (b); 720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 720s # } 720s # break; 720s # case G_TYPE_STRING: 720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 720s # break; 720s # case G_TYPE_VARIANT: 720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 720s # break; 720s # default: 720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 720s # else 720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 720s # break; 720s # } 720s # return ret; 720s # } 720s # 720s # static void 720s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 720s # GClosure *closure, 720s # GValue *return_value G_GNUC_UNUSED, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint G_GNUC_UNUSED, 720s # void *marshal_data) 720s # { 720s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 720s # (void *data1, 720s # gboolean arg_an_b, 720s # guchar arg_an_y, 720s # gint16 arg_an_n, 720s # guint16 arg_an_q, 720s # gint arg_an_i, 720s # guint arg_an_u, 720s # gint64 arg_an_x, 720s # guint64 arg_an_t, 720s # gdouble arg_an_d, 720s # const gchar *arg_an_s, 720s # const gchar *arg_an_o, 720s # const gchar *arg_an_g, 720s # GVariant *arg_an_h, 720s # const gchar *arg_an_ay, 720s # const gchar *const *arg_an_as, 720s # const gchar *const *arg_an_ao, 720s # const gchar *const *arg_an_aay, 720s # GVariant *arg_an_asv, 720s # void *data2); 720s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 720s # GCClosure *cc = (GCClosure*) closure; 720s # void *data1, *data2; 720s # 720s # g_return_if_fail (n_param_values == 19); 720s # 720s # if (G_CCLOSURE_SWAP_DATA (closure)) 720s # { 720s # data1 = closure->data; 720s # data2 = g_value_peek_pointer (param_values + 0); 720s # } 720s # else 720s # { 720s # data1 = g_value_peek_pointer (param_values + 0); 720s # data2 = closure->data; 720s # } 720s # 720s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 720s # (marshal_data ? marshal_data : cc->callback); 720s # 720s # callback (data1, 720s # g_marshal_value_peek_boolean (param_values + 1), 720s # g_marshal_value_peek_uchar (param_values + 2), 720s # g_marshal_value_peek_int (param_values + 3), 720s # g_marshal_value_peek_uint (param_values + 4), 720s # g_marshal_value_peek_int (param_values + 5), 720s # g_marshal_value_peek_uint (param_values + 6), 720s # g_marshal_value_peek_int64 (param_values + 7), 720s # g_marshal_value_peek_uint64 (param_values + 8), 720s # g_marshal_value_peek_double (param_values + 9), 720s # g_marshal_value_peek_string (param_values + 10), 720s # g_marshal_value_peek_string (param_values + 11), 720s # g_marshal_value_peek_string (param_values + 12), 720s # g_marshal_value_peek_variant (param_values + 13), 720s # g_marshal_value_peek_string (param_values + 14), 720s # g_marshal_value_peek_boxed (param_values + 15), 720s # g_marshal_value_peek_boxed (param_values + 16), 720s # g_marshal_value_peek_boxed (param_values + 17), 720s # g_marshal_value_peek_variant (param_values + 18), 720s # data2); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface org.project.SignalingIface 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:OrgProjectSignalingIface 720s # * @title: OrgProjectSignalingIface 720s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 720s # * 720s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 720s # */ 720s # 720s # enum 720s # { 720s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 720s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 720s # }; 720s # 720s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 720s # 720s # /* ---- Introspection data for org.project.SignalingIface ---- */ 720s # 720s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 720s # { 720s # { 720s # -1, 720s # (gchar *) "SimpleSignal", 720s # NULL, 720s # NULL 720s # }, 720s # "simple-signal" 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_b", 720s # (gchar *) "b", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_y", 720s # (gchar *) "y", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_n", 720s # (gchar *) "n", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_q", 720s # (gchar *) "q", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_i", 720s # (gchar *) "i", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_u", 720s # (gchar *) "u", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_x", 720s # (gchar *) "x", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_t", 720s # (gchar *) "t", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_d", 720s # (gchar *) "d", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_s", 720s # (gchar *) "s", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_o", 720s # (gchar *) "o", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_g", 720s # (gchar *) "g", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_h", 720s # (gchar *) "h", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_ay", 720s # (gchar *) "ay", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_as", 720s # (gchar *) "as", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_ao", 720s # (gchar *) "ao", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_aay", 720s # (gchar *) "aay", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 720s # { 720s # { 720s # -1, 720s # (gchar *) "an_asv", 720s # (gchar *) "a{sv}", 720s # NULL 720s # }, 720s # FALSE 720s # }; 720s # 720s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 720s # { 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 720s # { 720s # { 720s # -1, 720s # (gchar *) "SignalWithManyArgs", 720s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 720s # NULL 720s # }, 720s # "signal-with-many-args" 720s # }; 720s # 720s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 720s # { 720s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 720s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "org.project.SignalingIface", 720s # NULL, 720s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 720s # NULL, 720s # NULL 720s # }, 720s # "org-project-signaling-iface", 720s # }; 720s # 720s # 720s # /** 720s # * org_project_signaling_iface_interface_info: 720s # * 720s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # org_project_signaling_iface_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 720s # { 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # org_project_signaling_iface_signal_marshal_simple_signal ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # g_cclosure_marshal_VOID__VOID (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * OrgProjectSignalingIface: 720s # * 720s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceIface: 720s # * @parent_iface: The parent interface. 720s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 720s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 720s # * 720s # * Virtual table for the D-Bus interface org.project.SignalingIface. 720s # */ 720s # 720s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 720s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 720s # 720s # static void 720s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 720s # { 720s # /* GObject signals for received D-Bus signals: */ 720s # /** 720s # * OrgProjectSignalingIface::simple-signal: 720s # * @object: A #OrgProjectSignalingIface. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 720s # g_signal_new ("simple-signal", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 720s # NULL, 720s # NULL, 720s # org_project_signaling_iface_signal_marshal_simple_signal, 720s # G_TYPE_NONE, 720s # 0); 720s # 720s # /** 720s # * OrgProjectSignalingIface::signal-with-many-args: 720s # * @object: A #OrgProjectSignalingIface. 720s # * @arg_an_b: Argument. 720s # * @arg_an_y: Argument. 720s # * @arg_an_n: Argument. 720s # * @arg_an_q: Argument. 720s # * @arg_an_i: Argument. 720s # * @arg_an_u: Argument. 720s # * @arg_an_x: Argument. 720s # * @arg_an_t: Argument. 720s # * @arg_an_d: Argument. 720s # * @arg_an_s: Argument. 720s # * @arg_an_o: Argument. 720s # * @arg_an_g: Argument. 720s # * @arg_an_h: Argument. 720s # * @arg_an_ay: Argument. 720s # * @arg_an_as: Argument. 720s # * @arg_an_ao: Argument. 720s # * @arg_an_aay: Argument. 720s # * @arg_an_asv: Argument. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 720s # g_signal_new ("signal-with-many-args", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 720s # NULL, 720s # NULL, 720s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 720s # G_TYPE_NONE, 720s # 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); 720s # 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_emit_simple_signal: 720s # * @object: A #OrgProjectSignalingIface. 720s # * 720s # * Emits the "SimpleSignal" D-Bus signal. 720s # */ 720s # void 720s # org_project_signaling_iface_emit_simple_signal ( 720s # OrgProjectSignalingIface *object) 720s # { 720s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_emit_signal_with_many_args: 720s # * @object: A #OrgProjectSignalingIface. 720s # * @arg_an_b: Argument to pass with the signal. 720s # * @arg_an_y: Argument to pass with the signal. 720s # * @arg_an_n: Argument to pass with the signal. 720s # * @arg_an_q: Argument to pass with the signal. 720s # * @arg_an_i: Argument to pass with the signal. 720s # * @arg_an_u: Argument to pass with the signal. 720s # * @arg_an_x: Argument to pass with the signal. 720s # * @arg_an_t: Argument to pass with the signal. 720s # * @arg_an_d: Argument to pass with the signal. 720s # * @arg_an_s: Argument to pass with the signal. 720s # * @arg_an_o: Argument to pass with the signal. 720s # * @arg_an_g: Argument to pass with the signal. 720s # * @arg_an_h: Argument to pass with the signal. 720s # * @arg_an_ay: Argument to pass with the signal. 720s # * @arg_an_as: Argument to pass with the signal. 720s # * @arg_an_ao: Argument to pass with the signal. 720s # * @arg_an_aay: Argument to pass with the signal. 720s # * @arg_an_asv: Argument to pass with the signal. 720s # * 720s # * Emits the "SignalWithManyArgs" D-Bus signal. 720s # */ 720s # void 720s # org_project_signaling_iface_emit_signal_with_many_args ( 720s # OrgProjectSignalingIface *object, 720s # gboolean arg_an_b, 720s # guchar arg_an_y, 720s # gint16 arg_an_n, 720s # guint16 arg_an_q, 720s # gint arg_an_i, 720s # guint arg_an_u, 720s # gint64 arg_an_x, 720s # guint64 arg_an_t, 720s # gdouble arg_an_d, 720s # const gchar *arg_an_s, 720s # const gchar *arg_an_o, 720s # const gchar *arg_an_g, 720s # GVariant *arg_an_h, 720s # const gchar *arg_an_ay, 720s # const gchar *const *arg_an_as, 720s # const gchar *const *arg_an_ao, 720s # const gchar *const *arg_an_aay, 720s # GVariant *arg_an_asv) 720s # { 720s # 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); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceProxy: 720s # * 720s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectSignalingIfaceProxy. 720s # */ 720s # 720s # struct _OrgProjectSignalingIfaceProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_signaling_iface_proxy_finalize (GObject *object) 720s # { 720s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # const GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 720s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 720s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 720s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_signaling_iface_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_SIGNALING_IFACE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeleton: 720s # * 720s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectSignalingIfaceSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 720s # */ 720s # 720s # struct _OrgProjectSignalingIfaceSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _org_project_signaling_iface_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _org_project_signaling_iface_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _org_project_signaling_iface_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 720s # { 720s # _org_project_signaling_iface_skeleton_handle_method_call, 720s # _org_project_signaling_iface_skeleton_handle_get_property, 720s # _org_project_signaling_iface_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return org_project_signaling_iface_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_simple_signal ( 720s # OrgProjectSignalingIface *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void 720s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 720s # OrgProjectSignalingIface *object, 720s # gboolean arg_an_b, 720s # guchar arg_an_y, 720s # gint16 arg_an_n, 720s # guint16 arg_an_q, 720s # gint arg_an_i, 720s # guint arg_an_u, 720s # gint64 arg_an_x, 720s # guint64 arg_an_t, 720s # gdouble arg_an_d, 720s # const gchar *arg_an_s, 720s # const gchar *arg_an_o, 720s # const gchar *arg_an_g, 720s # GVariant *arg_an_h, 720s # const gchar *arg_an_ay, 720s # const gchar *const *arg_an_as, 720s # const gchar *const *arg_an_ao, 720s # const gchar *const *arg_an_aay, 720s # GVariant *arg_an_asv) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 720s # arg_an_b, 720s # arg_an_y, 720s # arg_an_n, 720s # arg_an_q, 720s # arg_an_i, 720s # arg_an_u, 720s # arg_an_x, 720s # arg_an_t, 720s # arg_an_d, 720s # arg_an_s, 720s # arg_an_o, 720s # arg_an_g, 720s # arg_an_h, 720s # arg_an_ay, 720s # arg_an_as, 720s # arg_an_ao, 720s # arg_an_aay, 720s # arg_an_asv)); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_signaling_iface_skeleton_finalize (GObject *object) 720s # { 720s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 720s # { 720s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 720s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 720s # } 720s # 720s # /** 720s # * org_project_signaling_iface_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 720s # * 720s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 720s # */ 720s # OrgProjectSignalingIface * 720s # org_project_signaling_iface_skeleton_new (void) 720s # { 720s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 720s # } 720s ok 25 __main__.TestCodegen.test_generate_valid_docbook 720s # tmpdir: /tmp/tmp_upgw4r0 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmp_upgw4r0/tmp16fbmoo_.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_upgw4r0/tmp16fbmoo_.xml', '--generate-docbook', 'test'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: 720s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 720s # tmpdir: /tmp/tmp31aouk7_ 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmp31aouk7_/tmpdupdawja.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp31aouk7_/tmpdupdawja.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 720s # tmpdir: /tmp/tmpgc6hesww 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpgc6hesww/tmp2iuv9kj_.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc6hesww/tmp2iuv9kj_.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 720s # tmpdir: /tmp/tmpnq7osyw7 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpnq7osyw7/tmpwemask5z.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnq7osyw7/tmpwemask5z.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 720s # tmpdir: /tmp/tmpv1xxs4j4 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpv1xxs4j4/tmpl0uatsbk.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv1xxs4j4/tmpl0uatsbk.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 720s # tmpdir: /tmp/tmpm71dufgv 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpm71dufgv/tmpcm0q6c4p.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm71dufgv/tmpcm0q6c4p.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 720s # tmpdir: /tmp/tmpov8nbsq_ 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpov8nbsq_/tmph4tsfwwe.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpov8nbsq_/tmph4tsfwwe.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 720s # tmpdir: /tmp/tmpjl6vsbcx 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpjl6vsbcx/tmphejcauoo.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjl6vsbcx/tmphejcauoo.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 720s # tmpdir: /tmp/tmp2o22vowh 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmp2o22vowh/tmpkyzy7j4d.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2o22vowh/tmpkyzy7j4d.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 720s # tmpdir: /tmp/tmp082ze01t 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmp082ze01t/tmp_ncrjbp_.xml: 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp082ze01t/tmp_ncrjbp_.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s ok 35 __main__.TestCodegen.test_help 720s # tmpdir: /tmp/tmptzr_j5a3 720s # codegen: /usr/bin/gdbus-codegen 720s # Running: ['/usr/bin/gdbus-codegen', '--help'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 720s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 720s # [--c-generate-autocleanup {none,objects,all}] 720s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 720s # [--generate-rst OUTFILES] [--pragma-once] 720s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 720s # [--glib-min-required VERSION] 720s # [--glib-max-allowed VERSION] 720s # [--symbol-decorator SYMBOL_DECORATOR] 720s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 720s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 720s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 720s # [--output FILE | --output-directory OUTDIR] 720s # FILE [FILE ...] 720s # 720s # D-Bus code and documentation generator 720s # 720s # positional arguments: 720s # FILE D-Bus introspection XML file 720s # 720s # options: 720s # -h, --help show this help message and exit 720s # --interface-prefix PREFIX 720s # String to strip from D-Bus interface names for code 720s # and docs 720s # --c-namespace NAMESPACE 720s # The namespace to use for generated C code 720s # --c-generate-object-manager 720s # Generate a GDBusObjectManagerClient subclass when 720s # generating C code 720s # --c-generate-autocleanup {none,objects,all} 720s # Generate autocleanup support 720s # --generate-docbook OUTFILES 720s # Generate Docbook in OUTFILES-org.Project.IFace.xml 720s # --generate-md OUTFILES 720s # Generate Markdown in OUTFILES-org.Project.IFace.md 720s # --generate-rst OUTFILES 720s # Generate reStructuredText in OUTFILES- 720s # org.Project.IFace.rst 720s # --pragma-once Use "pragma once" as the inclusion guard 720s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 720s # Add annotation (may be used several times) 720s # --glib-min-required VERSION 720s # Minimum version of GLib to be supported by the 720s # outputted code (default: 2.30) 720s # --glib-max-allowed VERSION 720s # Maximum version of GLib to be used by the outputted 720s # code (default: current GLib version) 720s # --symbol-decorator SYMBOL_DECORATOR 720s # Macro used to decorate a symbol in the outputted 720s # header, possibly to export symbols 720s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 720s # Additional header required for decorator specified by 720s # --symbol-decorator 720s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 720s # Additional define required for decorator specified by 720s # --symbol-decorator 720s # --generate-c-code OUTFILES 720s # Generate C code in OUTFILES.[ch] 720s # --header Generate C headers 720s # --body Generate C code 720s # --interface-info-header 720s # Generate GDBusInterfaceInfo C header 720s # --interface-info-body 720s # Generate GDBusInterfaceInfo C code 720s # --output FILE Write output into the specified file 720s # --output-directory OUTDIR 720s # Location to output generated files 720s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 720s # tmpdir: /tmp/tmpwhvf1gl6 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpwhvf1gl6/tmpke9mhe0x.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwhvf1gl6/tmpke9mhe0x.xml', '--generate-rst', 'test'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: 720s # /tmp/tmpwhvf1gl6/tmpfgnqcqy0.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwhvf1gl6/tmpfgnqcqy0.xml', '--generate-md', 'test'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: 720s # /tmp/tmpwhvf1gl6/tmpmke8_jg9.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwhvf1gl6/tmpmke8_jg9.xml', '--generate-docbook', 'test'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: 720s ok 37 __main__.TestCodegen.test_no_args 720s # tmpdir: /tmp/tmp4jceq8o5 720s # codegen: /usr/bin/gdbus-codegen 720s # Running: ['/usr/bin/gdbus-codegen'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s ok 38 __main__.TestCodegen.test_reproducible 720s # tmpdir: /tmp/tmpst924rpq 720s # codegen: /usr/bin/gdbus-codegen 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpst924rpq/tmppaoy5cnu1.xml', '/tmp/tmpst924rpq/tmp4b4md4cg2.xml', '--output', '-', '--header'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for org.project.Bar.Frobnicator */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 720s # 720s # struct _OrgProjectBarFrobnicator; 720s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 720s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 720s # 720s # struct _OrgProjectBarFrobnicatorIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # gboolean (*handle_random_method) ( 720s # OrgProjectBarFrobnicator *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # }; 720s # 720s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 720s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void org_project_bar_frobnicator_complete_random_method ( 720s # OrgProjectBarFrobnicator *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void org_project_bar_frobnicator_call_random_method ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 720s # 720s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 720s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 720s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 720s # 720s # struct _OrgProjectBarFrobnicatorProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # OrgProjectBarFrobnicatorProxyPrivate *priv; 720s # }; 720s # 720s # struct _OrgProjectBarFrobnicatorProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 720s # #endif 720s # 720s # void org_project_bar_frobnicator_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void org_project_bar_frobnicator_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 720s # 720s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 720s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 720s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 720s # 720s # struct _OrgProjectBarFrobnicatorSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _OrgProjectBarFrobnicatorSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 720s # #endif 720s # 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for com.acme.Coyote */ 720s # 720s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 720s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 720s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 720s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 720s # 720s # struct _ComAcmeCoyote; 720s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 720s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 720s # 720s # struct _ComAcmeCoyoteIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # 720s # 720s # gboolean (*handle_attack) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # gboolean (*handle_run) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # gboolean (*handle_sleep) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # const gchar * (*get_mood) (ComAcmeCoyote *object); 720s # 720s # void (*surprised) ( 720s # ComAcmeCoyote *object); 720s # 720s # }; 720s # 720s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 720s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void com_acme_coyote_complete_run ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # void com_acme_coyote_complete_sleep ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # void com_acme_coyote_complete_attack ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus signal emissions functions: */ 720s # void com_acme_coyote_emit_surprised ( 720s # ComAcmeCoyote *object); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void com_acme_coyote_call_run ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_run_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_run_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_call_sleep ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_sleep_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_sleep_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_call_attack ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_attack_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_attack_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* D-Bus property accessors: */ 720s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 720s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 720s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 720s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 720s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 720s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 720s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 720s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 720s # 720s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 720s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 720s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 720s # 720s # struct _ComAcmeCoyoteProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # ComAcmeCoyoteProxyPrivate *priv; 720s # }; 720s # 720s # struct _ComAcmeCoyoteProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 720s # #endif 720s # 720s # void com_acme_coyote_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 720s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 720s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 720s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 720s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 720s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 720s # 720s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 720s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 720s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 720s # 720s # struct _ComAcmeCoyoteSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # ComAcmeCoyoteSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _ComAcmeCoyoteSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 720s # #endif 720s # 720s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpst924rpq/tmp4b4md4cg2.xml', '/tmp/tmpst924rpq/tmppaoy5cnu1.xml', '--output', '-', '--header'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for org.project.Bar.Frobnicator */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 720s # 720s # struct _OrgProjectBarFrobnicator; 720s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 720s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 720s # 720s # struct _OrgProjectBarFrobnicatorIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # gboolean (*handle_random_method) ( 720s # OrgProjectBarFrobnicator *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # }; 720s # 720s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 720s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void org_project_bar_frobnicator_complete_random_method ( 720s # OrgProjectBarFrobnicator *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void org_project_bar_frobnicator_call_random_method ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 720s # 720s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 720s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 720s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 720s # 720s # struct _OrgProjectBarFrobnicatorProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # OrgProjectBarFrobnicatorProxyPrivate *priv; 720s # }; 720s # 720s # struct _OrgProjectBarFrobnicatorProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 720s # #endif 720s # 720s # void org_project_bar_frobnicator_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void org_project_bar_frobnicator_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 720s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 720s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 720s # 720s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 720s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 720s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 720s # 720s # struct _OrgProjectBarFrobnicatorSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _OrgProjectBarFrobnicatorSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 720s # #endif 720s # 720s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for com.acme.Coyote */ 720s # 720s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 720s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 720s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 720s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 720s # 720s # struct _ComAcmeCoyote; 720s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 720s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 720s # 720s # struct _ComAcmeCoyoteIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # 720s # 720s # gboolean (*handle_attack) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # gboolean (*handle_run) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # gboolean (*handle_sleep) ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # const gchar * (*get_mood) (ComAcmeCoyote *object); 720s # 720s # void (*surprised) ( 720s # ComAcmeCoyote *object); 720s # 720s # }; 720s # 720s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 720s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void com_acme_coyote_complete_run ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # void com_acme_coyote_complete_sleep ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # void com_acme_coyote_complete_attack ( 720s # ComAcmeCoyote *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus signal emissions functions: */ 720s # void com_acme_coyote_emit_surprised ( 720s # ComAcmeCoyote *object); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void com_acme_coyote_call_run ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_run_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_run_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_call_sleep ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_sleep_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_sleep_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_call_attack ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean com_acme_coyote_call_attack_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean com_acme_coyote_call_attack_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* D-Bus property accessors: */ 720s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 720s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 720s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 720s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 720s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 720s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 720s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 720s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 720s # 720s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 720s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 720s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 720s # 720s # struct _ComAcmeCoyoteProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # ComAcmeCoyoteProxyPrivate *priv; 720s # }; 720s # 720s # struct _ComAcmeCoyoteProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 720s # #endif 720s # 720s # void com_acme_coyote_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void com_acme_coyote_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 720s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 720s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 720s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 720s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 720s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 720s # 720s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 720s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 720s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 720s # 720s # struct _ComAcmeCoyoteSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # ComAcmeCoyoteSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _ComAcmeCoyoteSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 720s # #endif 720s # 720s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpst924rpq/tmppaoy5cnu1.xml', '/tmp/tmpst924rpq/tmp4b4md4cg2.xml', '--output', '-', '--body'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifdef HAVE_CONFIG_H 720s # # include "config.h" 720s # #endif 720s # 720s # #include 720s # #ifdef G_OS_UNIX 720s # # include 720s # #endif 720s # 720s # #ifdef G_ENABLE_DEBUG 720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 720s # #else /* !G_ENABLE_DEBUG */ 720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 720s # * Do not access GValues directly in your code. Instead, use the 720s # * g_value_get_*() functions 720s # */ 720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 720s # #endif /* !G_ENABLE_DEBUG */ 720s # 720s # typedef struct 720s # { 720s # GDBusArgInfo parent_struct; 720s # gboolean use_gvariant; 720s # } _ExtendedGDBusArgInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusMethodInfo parent_struct; 720s # const gchar *signal_name; 720s # gboolean pass_fdlist; 720s # } _ExtendedGDBusMethodInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusSignalInfo parent_struct; 720s # const gchar *signal_name; 720s # } _ExtendedGDBusSignalInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusPropertyInfo parent_struct; 720s # const gchar *hyphen_name; 720s # guint use_gvariant : 1; 720s # guint emits_changed_signal : 1; 720s # } _ExtendedGDBusPropertyInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusInterfaceInfo parent_struct; 720s # const gchar *hyphen_name; 720s # } _ExtendedGDBusInterfaceInfo; 720s # 720s # typedef struct 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # guint prop_id; 720s # GValue orig_value; /* the value before the change */ 720s # } ChangedProperty; 720s # 720s # static void 720s # _changed_property_free (ChangedProperty *data) 720s # { 720s # g_value_unset (&data->orig_value); 720s # g_free (data); 720s # } 720s # 720s # static gboolean 720s # _g_strv_equal0 (gchar **a, gchar **b) 720s # { 720s # gboolean ret = FALSE; 720s # guint n; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # if (g_strv_length (a) != g_strv_length (b)) 720s # goto out; 720s # for (n = 0; a[n] != NULL; n++) 720s # if (g_strcmp0 (a[n], b[n]) != 0) 720s # goto out; 720s # ret = TRUE; 720s # out: 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _g_variant_equal0 (GVariant *a, GVariant *b) 720s # { 720s # gboolean ret = FALSE; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # ret = g_variant_equal (a, b); 720s # out: 720s # return ret; 720s # } 720s # 720s # G_GNUC_UNUSED static gboolean 720s # _g_value_equal (const GValue *a, const GValue *b) 720s # { 720s # gboolean ret = FALSE; 720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 720s # switch (G_VALUE_TYPE (a)) 720s # { 720s # case G_TYPE_BOOLEAN: 720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 720s # break; 720s # case G_TYPE_UCHAR: 720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 720s # break; 720s # case G_TYPE_INT: 720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 720s # break; 720s # case G_TYPE_UINT: 720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 720s # break; 720s # case G_TYPE_INT64: 720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 720s # break; 720s # case G_TYPE_UINT64: 720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 720s # break; 720s # case G_TYPE_DOUBLE: 720s # { 720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 720s # gdouble da = g_value_get_double (a); 720s # gdouble db = g_value_get_double (b); 720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 720s # } 720s # break; 720s # case G_TYPE_STRING: 720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 720s # break; 720s # case G_TYPE_VARIANT: 720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 720s # break; 720s # default: 720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 720s # else 720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 720s # break; 720s # } 720s # return ret; 720s # } 720s # 720s # static void 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint G_GNUC_UNUSED, 720s # void *marshal_data) 720s # { 720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 720s # (void *data1, 720s # GDBusMethodInvocation *arg_method_invocation, 720s # void *data2); 720s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 720s # GCClosure *cc = (GCClosure*) closure; 720s # void *data1, *data2; 720s # gboolean v_return; 720s # 720s # g_return_if_fail (return_value != NULL); 720s # g_return_if_fail (n_param_values == 2); 720s # 720s # if (G_CCLOSURE_SWAP_DATA (closure)) 720s # { 720s # data1 = closure->data; 720s # data2 = g_value_peek_pointer (param_values + 0); 720s # } 720s # else 720s # { 720s # data1 = g_value_peek_pointer (param_values + 0); 720s # data2 = closure->data; 720s # } 720s # 720s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 720s # (marshal_data ? marshal_data : cc->callback); 720s # 720s # v_return = 720s # callback (data1, 720s # g_marshal_value_peek_object (param_values + 1), 720s # data2); 720s # 720s # g_value_set_boolean (return_value, v_return); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface org.project.Bar.Frobnicator 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:OrgProjectBarFrobnicator 720s # * @title: OrgProjectBarFrobnicator 720s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 720s # * 720s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 720s # */ 720s # 720s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 720s # 720s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 720s # { 720s # { 720s # -1, 720s # (gchar *) "RandomMethod", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-random-method", 720s # FALSE 720s # }; 720s # 720s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 720s # { 720s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "org.project.Bar.Frobnicator", 720s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "org-project-bar-frobnicator", 720s # }; 720s # 720s # 720s # /** 720s # * org_project_bar_frobnicator_interface_info: 720s # * 720s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # org_project_bar_frobnicator_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 720s # { 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # org_project_bar_frobnicator_method_marshal_random_method ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * OrgProjectBarFrobnicator: 720s # * 720s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorIface: 720s # * @parent_iface: The parent interface. 720s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 720s # * 720s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 720s # */ 720s # 720s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 720s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 720s # 720s # static void 720s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 720s # { 720s # /* GObject signals for incoming D-Bus method calls: */ 720s # /** 720s # * OrgProjectBarFrobnicator::handle-random-method: 720s # * @object: A #OrgProjectBarFrobnicator. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-random-method", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # org_project_bar_frobnicator_method_marshal_random_method, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # org_project_bar_frobnicator_call_random_method ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "RandomMethod", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method_finish: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # org_project_bar_frobnicator_call_random_method_finish ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method_sync: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # org_project_bar_frobnicator_call_random_method_sync ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "RandomMethod", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_complete_random_method: 720s # * @object: A #OrgProjectBarFrobnicator. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # org_project_bar_frobnicator_complete_random_method ( 720s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorProxy: 720s # * 720s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectBarFrobnicatorProxy. 720s # */ 720s # 720s # struct _OrgProjectBarFrobnicatorProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 720s # { 720s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # const GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 720s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 720s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 720s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_bar_frobnicator_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_bar_frobnicator_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorSkeleton: 720s # * 720s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 720s # */ 720s # 720s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 720s # { 720s # _org_project_bar_frobnicator_skeleton_handle_method_call, 720s # _org_project_bar_frobnicator_skeleton_handle_get_property, 720s # _org_project_bar_frobnicator_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return org_project_bar_frobnicator_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_skeleton_new (void) 720s # { 720s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface com.acme.Coyote 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:ComAcmeCoyote 720s # * @title: ComAcmeCoyote 720s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 720s # * 720s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 720s # */ 720s # 720s # enum 720s # { 720s # _COM_ACME_COYOTE_SURPRISED, 720s # }; 720s # 720s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 720s # 720s # /* ---- Introspection data for com.acme.Coyote ---- */ 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Run", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-run", 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Sleep", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-sleep", 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Attack", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-attack", 720s # FALSE 720s # }; 720s # 720s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 720s # { 720s # &_com_acme_coyote_method_info_run.parent_struct, 720s # &_com_acme_coyote_method_info_sleep.parent_struct, 720s # &_com_acme_coyote_method_info_attack.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Surprised", 720s # NULL, 720s # NULL 720s # }, 720s # "surprised" 720s # }; 720s # 720s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 720s # { 720s # &_com_acme_coyote_signal_info_surprised.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Mood", 720s # (gchar *) "s", 720s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 720s # NULL 720s # }, 720s # "mood", 720s # FALSE, 720s # TRUE 720s # }; 720s # 720s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 720s # { 720s # &_com_acme_coyote_property_info_mood.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "com.acme.Coyote", 720s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 720s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 720s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 720s # NULL 720s # }, 720s # "com-acme-coyote", 720s # }; 720s # 720s # 720s # /** 720s # * com_acme_coyote_interface_info: 720s # * 720s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # com_acme_coyote_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 720s # { 720s # g_object_class_override_property (klass, property_id_begin++, "mood"); 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # com_acme_coyote_signal_marshal_surprised ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # g_cclosure_marshal_VOID__VOID (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_run ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_sleep ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_attack ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * ComAcmeCoyote: 720s # * 720s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteIface: 720s # * @parent_iface: The parent interface. 720s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 720s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 720s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 720s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 720s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 720s # * 720s # * Virtual table for the D-Bus interface com.acme.Coyote. 720s # */ 720s # 720s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 720s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 720s # 720s # static void 720s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 720s # { 720s # /* GObject signals for incoming D-Bus method calls: */ 720s # /** 720s # * ComAcmeCoyote::handle-run: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-run", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_run, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /** 720s # * ComAcmeCoyote::handle-sleep: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-sleep", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_sleep, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /** 720s # * ComAcmeCoyote::handle-attack: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-attack", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_attack, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /* GObject signals for received D-Bus signals: */ 720s # /** 720s # * ComAcmeCoyote::surprised: 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 720s # g_signal_new ("surprised", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 720s # NULL, 720s # NULL, 720s # com_acme_coyote_signal_marshal_surprised, 720s # G_TYPE_NONE, 720s # 0); 720s # 720s # /* GObject properties for D-Bus properties: */ 720s # /** 720s # * ComAcmeCoyote:mood: 720s # * 720s # * Represents the D-Bus property "Mood". 720s # * 720s # * 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. 720s # */ 720s # g_object_interface_install_property (iface, 720s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_get_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Gets the value of the "Mood" D-Bus property. 720s # * 720s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # const gchar * 720s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 720s # { 720s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 720s # 720s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_dup_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Gets a copy of the "Mood" D-Bus property. 720s # * 720s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 720s # * 720s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 720s # */ 720s # gchar * 720s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 720s # { 720s # gchar *value; 720s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 720s # return value; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_set_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * @value: The value to set. 720s # * 720s # * Sets the "Mood" D-Bus property to @value. 720s # * 720s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 720s # */ 720s # void 720s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 720s # { 720s # g_object_set (G_OBJECT (object), "mood", value, NULL); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_emit_surprised: 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Emits the "Surprised" D-Bus signal. 720s # */ 720s # void 720s # com_acme_coyote_emit_surprised ( 720s # ComAcmeCoyote *object) 720s # { 720s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Run() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_run ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Run", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_run(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_run_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_run_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Run", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_sleep ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Sleep", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_sleep(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_sleep_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_sleep_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Sleep", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_attack ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Attack", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_attack(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_attack_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_attack_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Attack", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_run: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_run ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_sleep: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_sleep ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_attack: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_attack ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * ComAcmeCoyoteProxy: 720s # * 720s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #ComAcmeCoyoteProxy. 720s # */ 720s # 720s # struct _ComAcmeCoyoteProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # com_acme_coyote_proxy_finalize (GObject *object) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_get_property (GObject *object, 720s # guint prop_id, 720s # GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # GVariant *variant; 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 720s # if (info->use_gvariant) 720s # { 720s # g_value_set_variant (value, variant); 720s # } 720s # else 720s # { 720s # if (variant != NULL) 720s # g_dbus_gvariant_to_gvalue (variant, value); 720s # } 720s # if (variant != NULL) 720s # g_variant_unref (variant); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 720s # GAsyncResult *res, 720s # gpointer user_data) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info = user_data; 720s # GError *error; 720s # GVariant *_ret; 720s # error = NULL; 720s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 720s # if (!_ret) 720s # { 720s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 720s # info->parent_struct.name, 720s # error->message, g_quark_to_string (error->domain), error->code); 720s # g_error_free (error); 720s # } 720s # else 720s # { 720s # g_variant_unref (_ret); 720s # } 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_set_property (GObject *object, 720s # guint prop_id, 720s # const GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # GVariant *variant; 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_dbus_proxy_call (G_DBUS_PROXY (object), 720s # "org.freedesktop.DBus.Properties.Set", 720s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 720s # g_variant_unref (variant); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static const gchar * 720s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 720s # GVariant *variant; 720s # const gchar *value = NULL; 720s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 720s # if (variant != NULL) 720s # { 720s # value = g_variant_get_string (variant, NULL); 720s # g_variant_unref (variant); 720s # } 720s # return value; 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 720s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 720s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 720s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 720s # 720s # com_acme_coyote_override_properties (gobject_class, 1); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 720s # { 720s # iface->get_mood = com_acme_coyote_proxy_get_mood; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # com_acme_coyote_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with com_acme_coyote_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # com_acme_coyote_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * ComAcmeCoyoteSkeleton: 720s # * 720s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #ComAcmeCoyoteSkeleton. 720s # */ 720s # 720s # struct _ComAcmeCoyoteSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _com_acme_coyote_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _com_acme_coyote_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _com_acme_coyote_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 720s # { 720s # _com_acme_coyote_skeleton_handle_method_call, 720s # _com_acme_coyote_skeleton_handle_get_property, 720s # _com_acme_coyote_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return com_acme_coyote_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 720s # 720s # static void 720s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 720s # gboolean emit_changed = FALSE; 720s # 720s # g_mutex_lock (&skeleton->priv->lock); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # { 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # skeleton->priv->changed_properties_idle_source = NULL; 720s # emit_changed = TRUE; 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # 720s # if (emit_changed) 720s # _com_acme_coyote_emit_changed (skeleton); 720s # } 720s # 720s # static void 720s # _com_acme_coyote_on_signal_surprised ( 720s # ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # com_acme_coyote_skeleton_finalize (GObject *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # guint n; 720s # for (n = 0; n < 1; n++) 720s # g_value_unset (&skeleton->priv->properties[n]); 720s # g_free (skeleton->priv->properties); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_get_property (GObject *object, 720s # guint prop_id, 720s # GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # } 720s # 720s # static gboolean 720s # _com_acme_coyote_emit_changed (gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GList *l; 720s # GVariantBuilder builder; 720s # GVariantBuilder invalidated_builder; 720s # guint num_changes; 720s # 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 720s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 720s # { 720s # ChangedProperty *cp = l->data; 720s # GVariant *variant; 720s # const GValue *cur_value; 720s # 720s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 720s # if (!_g_value_equal (cur_value, &cp->orig_value)) 720s # { 720s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 720s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 720s # g_variant_unref (variant); 720s # num_changes++; 720s # } 720s # } 720s # if (num_changes > 0) 720s # { 720s # GList *connections, *ll; 720s # GVariant *signal_variant; 720s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 720s # &builder, &invalidated_builder)); 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # for (ll = connections; ll != NULL; ll = ll->next) 720s # { 720s # GDBusConnection *connection = ll->data; 720s # 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 720s # "org.freedesktop.DBus.Properties", 720s # "PropertiesChanged", 720s # signal_variant, 720s # NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # else 720s # { 720s # g_variant_builder_clear (&builder); 720s # g_variant_builder_clear (&invalidated_builder); 720s # } 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # skeleton->priv->changed_properties = NULL; 720s # skeleton->priv->changed_properties_idle_source = NULL; 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # return FALSE; 720s # } 720s # 720s # static void 720s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 720s # { 720s # ChangedProperty *cp; 720s # GList *l; 720s # cp = NULL; 720s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 720s # { 720s # ChangedProperty *i_cp = l->data; 720s # if (i_cp->info == info) 720s # { 720s # cp = i_cp; 720s # break; 720s # } 720s # } 720s # if (cp == NULL) 720s # { 720s # cp = g_new0 (ChangedProperty, 1); 720s # cp->prop_id = prop_id; 720s # cp->info = info; 720s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 720s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 720s # g_value_copy (orig_value, &cp->orig_value); 720s # } 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_notify (GObject *object, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_mutex_lock (&skeleton->priv->lock); 720s # if (skeleton->priv->changed_properties != NULL && 720s # skeleton->priv->changed_properties_idle_source == NULL) 720s # { 720s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 720s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 720s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 720s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 720s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 720s # g_source_unref (skeleton->priv->changed_properties_idle_source); 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_set_property (GObject *object, 720s # guint prop_id, 720s # const GValue *value, 720s # GParamSpec *pspec) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_object_freeze_notify (object); 720s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 720s # { 720s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 720s # info->emits_changed_signal) 720s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 720s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 720s # g_object_notify_by_pspec (object, pspec); 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # g_object_thaw_notify (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # skeleton->priv->properties = g_new0 (GValue, 1); 720s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 720s # } 720s # 720s # static const gchar * 720s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # const gchar *value; 720s # g_mutex_lock (&skeleton->priv->lock); 720s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # return value; 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 720s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 720s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 720s # gobject_class->notify = com_acme_coyote_skeleton_notify; 720s # 720s # 720s # com_acme_coyote_override_properties (gobject_class, 1); 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 720s # { 720s # iface->surprised = _com_acme_coyote_on_signal_surprised; 720s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_skeleton_new (void) 720s # { 720s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 720s # } 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpst924rpq/tmp4b4md4cg2.xml', '/tmp/tmpst924rpq/tmppaoy5cnu1.xml', '--output', '-', '--body'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifdef HAVE_CONFIG_H 720s # # include "config.h" 720s # #endif 720s # 720s # #include 720s # #ifdef G_OS_UNIX 720s # # include 720s # #endif 720s # 720s # #ifdef G_ENABLE_DEBUG 720s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 720s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 720s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 720s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 720s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 720s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 720s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 720s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 720s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 720s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 720s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 720s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 720s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 720s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 720s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 720s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 720s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 720s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 720s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 720s # #else /* !G_ENABLE_DEBUG */ 720s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 720s # * Do not access GValues directly in your code. Instead, use the 720s # * g_value_get_*() functions 720s # */ 720s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 720s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 720s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 720s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 720s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 720s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 720s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 720s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 720s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 720s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 720s # #endif /* !G_ENABLE_DEBUG */ 720s # 720s # typedef struct 720s # { 720s # GDBusArgInfo parent_struct; 720s # gboolean use_gvariant; 720s # } _ExtendedGDBusArgInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusMethodInfo parent_struct; 720s # const gchar *signal_name; 720s # gboolean pass_fdlist; 720s # } _ExtendedGDBusMethodInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusSignalInfo parent_struct; 720s # const gchar *signal_name; 720s # } _ExtendedGDBusSignalInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusPropertyInfo parent_struct; 720s # const gchar *hyphen_name; 720s # guint use_gvariant : 1; 720s # guint emits_changed_signal : 1; 720s # } _ExtendedGDBusPropertyInfo; 720s # 720s # typedef struct 720s # { 720s # GDBusInterfaceInfo parent_struct; 720s # const gchar *hyphen_name; 720s # } _ExtendedGDBusInterfaceInfo; 720s # 720s # typedef struct 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # guint prop_id; 720s # GValue orig_value; /* the value before the change */ 720s # } ChangedProperty; 720s # 720s # static void 720s # _changed_property_free (ChangedProperty *data) 720s # { 720s # g_value_unset (&data->orig_value); 720s # g_free (data); 720s # } 720s # 720s # static gboolean 720s # _g_strv_equal0 (gchar **a, gchar **b) 720s # { 720s # gboolean ret = FALSE; 720s # guint n; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # if (g_strv_length (a) != g_strv_length (b)) 720s # goto out; 720s # for (n = 0; a[n] != NULL; n++) 720s # if (g_strcmp0 (a[n], b[n]) != 0) 720s # goto out; 720s # ret = TRUE; 720s # out: 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _g_variant_equal0 (GVariant *a, GVariant *b) 720s # { 720s # gboolean ret = FALSE; 720s # if (a == NULL && b == NULL) 720s # { 720s # ret = TRUE; 720s # goto out; 720s # } 720s # if (a == NULL || b == NULL) 720s # goto out; 720s # ret = g_variant_equal (a, b); 720s # out: 720s # return ret; 720s # } 720s # 720s # G_GNUC_UNUSED static gboolean 720s # _g_value_equal (const GValue *a, const GValue *b) 720s # { 720s # gboolean ret = FALSE; 720s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 720s # switch (G_VALUE_TYPE (a)) 720s # { 720s # case G_TYPE_BOOLEAN: 720s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 720s # break; 720s # case G_TYPE_UCHAR: 720s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 720s # break; 720s # case G_TYPE_INT: 720s # ret = (g_value_get_int (a) == g_value_get_int (b)); 720s # break; 720s # case G_TYPE_UINT: 720s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 720s # break; 720s # case G_TYPE_INT64: 720s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 720s # break; 720s # case G_TYPE_UINT64: 720s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 720s # break; 720s # case G_TYPE_DOUBLE: 720s # { 720s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 720s # gdouble da = g_value_get_double (a); 720s # gdouble db = g_value_get_double (b); 720s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 720s # } 720s # break; 720s # case G_TYPE_STRING: 720s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 720s # break; 720s # case G_TYPE_VARIANT: 720s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 720s # break; 720s # default: 720s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 720s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 720s # else 720s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 720s # break; 720s # } 720s # return ret; 720s # } 720s # 720s # static void 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint G_GNUC_UNUSED, 720s # void *marshal_data) 720s # { 720s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 720s # (void *data1, 720s # GDBusMethodInvocation *arg_method_invocation, 720s # void *data2); 720s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 720s # GCClosure *cc = (GCClosure*) closure; 720s # void *data1, *data2; 720s # gboolean v_return; 720s # 720s # g_return_if_fail (return_value != NULL); 720s # g_return_if_fail (n_param_values == 2); 720s # 720s # if (G_CCLOSURE_SWAP_DATA (closure)) 720s # { 720s # data1 = closure->data; 720s # data2 = g_value_peek_pointer (param_values + 0); 720s # } 720s # else 720s # { 720s # data1 = g_value_peek_pointer (param_values + 0); 720s # data2 = closure->data; 720s # } 720s # 720s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 720s # (marshal_data ? marshal_data : cc->callback); 720s # 720s # v_return = 720s # callback (data1, 720s # g_marshal_value_peek_object (param_values + 1), 720s # data2); 720s # 720s # g_value_set_boolean (return_value, v_return); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface org.project.Bar.Frobnicator 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:OrgProjectBarFrobnicator 720s # * @title: OrgProjectBarFrobnicator 720s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 720s # * 720s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 720s # */ 720s # 720s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 720s # 720s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 720s # { 720s # { 720s # -1, 720s # (gchar *) "RandomMethod", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-random-method", 720s # FALSE 720s # }; 720s # 720s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 720s # { 720s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "org.project.Bar.Frobnicator", 720s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "org-project-bar-frobnicator", 720s # }; 720s # 720s # 720s # /** 720s # * org_project_bar_frobnicator_interface_info: 720s # * 720s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # org_project_bar_frobnicator_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 720s # { 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # org_project_bar_frobnicator_method_marshal_random_method ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * OrgProjectBarFrobnicator: 720s # * 720s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorIface: 720s # * @parent_iface: The parent interface. 720s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 720s # * 720s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 720s # */ 720s # 720s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 720s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 720s # 720s # static void 720s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 720s # { 720s # /* GObject signals for incoming D-Bus method calls: */ 720s # /** 720s # * OrgProjectBarFrobnicator::handle-random-method: 720s # * @object: A #OrgProjectBarFrobnicator. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-random-method", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # org_project_bar_frobnicator_method_marshal_random_method, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # org_project_bar_frobnicator_call_random_method ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "RandomMethod", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method_finish: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # org_project_bar_frobnicator_call_random_method_finish ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_call_random_method_sync: 720s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # org_project_bar_frobnicator_call_random_method_sync ( 720s # OrgProjectBarFrobnicator *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "RandomMethod", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_complete_random_method: 720s # * @object: A #OrgProjectBarFrobnicator. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # org_project_bar_frobnicator_complete_random_method ( 720s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorProxy: 720s # * 720s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectBarFrobnicatorProxy. 720s # */ 720s # 720s # struct _OrgProjectBarFrobnicatorProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 720s # { 720s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 720s # guint prop_id G_GNUC_UNUSED, 720s # const GValue *value G_GNUC_UNUSED, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 720s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 720s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 720s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_bar_frobnicator_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # org_project_bar_frobnicator_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorSkeleton: 720s # * 720s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * OrgProjectBarFrobnicatorSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 720s # */ 720s # 720s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 720s # { 720s # _org_project_bar_frobnicator_skeleton_handle_method_call, 720s # _org_project_bar_frobnicator_skeleton_handle_get_property, 720s # _org_project_bar_frobnicator_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return org_project_bar_frobnicator_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 720s # { 720s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 720s # { 720s # } 720s # 720s # /** 720s # * org_project_bar_frobnicator_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 720s # * 720s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 720s # */ 720s # OrgProjectBarFrobnicator * 720s # org_project_bar_frobnicator_skeleton_new (void) 720s # { 720s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ 720s # * Code for interface com.acme.Coyote 720s # * ------------------------------------------------------------------------ 720s # */ 720s # 720s # /** 720s # * SECTION:ComAcmeCoyote 720s # * @title: ComAcmeCoyote 720s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 720s # * 720s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 720s # */ 720s # 720s # enum 720s # { 720s # _COM_ACME_COYOTE_SURPRISED, 720s # }; 720s # 720s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 720s # 720s # /* ---- Introspection data for com.acme.Coyote ---- */ 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Run", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-run", 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Sleep", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-sleep", 720s # FALSE 720s # }; 720s # 720s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Attack", 720s # NULL, 720s # NULL, 720s # NULL 720s # }, 720s # "handle-attack", 720s # FALSE 720s # }; 720s # 720s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 720s # { 720s # &_com_acme_coyote_method_info_run.parent_struct, 720s # &_com_acme_coyote_method_info_sleep.parent_struct, 720s # &_com_acme_coyote_method_info_attack.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Surprised", 720s # NULL, 720s # NULL 720s # }, 720s # "surprised" 720s # }; 720s # 720s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 720s # { 720s # &_com_acme_coyote_signal_info_surprised.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 720s # { 720s # { 720s # -1, 720s # (gchar *) "Mood", 720s # (gchar *) "s", 720s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 720s # NULL 720s # }, 720s # "mood", 720s # FALSE, 720s # TRUE 720s # }; 720s # 720s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 720s # { 720s # &_com_acme_coyote_property_info_mood.parent_struct, 720s # NULL 720s # }; 720s # 720s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 720s # { 720s # { 720s # -1, 720s # (gchar *) "com.acme.Coyote", 720s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 720s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 720s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 720s # NULL 720s # }, 720s # "com-acme-coyote", 720s # }; 720s # 720s # 720s # /** 720s # * com_acme_coyote_interface_info: 720s # * 720s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 720s # * 720s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 720s # */ 720s # GDBusInterfaceInfo * 720s # com_acme_coyote_interface_info (void) 720s # { 720s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_override_properties: 720s # * @klass: The class structure for a #GObject derived class. 720s # * @property_id_begin: The property id to assign to the first overridden property. 720s # * 720s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 720s # * The properties are overridden in the order they are defined. 720s # * 720s # * Returns: The last property id. 720s # */ 720s # guint 720s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 720s # { 720s # g_object_class_override_property (klass, property_id_begin++, "mood"); 720s # return property_id_begin - 1; 720s # } 720s # 720s # 720s # inline static void 720s # com_acme_coyote_signal_marshal_surprised ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # g_cclosure_marshal_VOID__VOID (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_run ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_sleep ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # inline static void 720s # com_acme_coyote_method_marshal_attack ( 720s # GClosure *closure, 720s # GValue *return_value, 720s # unsigned int n_param_values, 720s # const GValue *param_values, 720s # void *invocation_hint, 720s # void *marshal_data) 720s # { 720s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 720s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 720s # } 720s # 720s # 720s # /** 720s # * ComAcmeCoyote: 720s # * 720s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteIface: 720s # * @parent_iface: The parent interface. 720s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 720s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 720s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 720s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 720s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 720s # * 720s # * Virtual table for the D-Bus interface com.acme.Coyote. 720s # */ 720s # 720s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 720s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 720s # 720s # static void 720s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 720s # { 720s # /* GObject signals for incoming D-Bus method calls: */ 720s # /** 720s # * ComAcmeCoyote::handle-run: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-run", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_run, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /** 720s # * ComAcmeCoyote::handle-sleep: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-sleep", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_sleep, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /** 720s # * ComAcmeCoyote::handle-attack: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: A #GDBusMethodInvocation. 720s # * 720s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # g_signal_new ("handle-attack", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 720s # g_signal_accumulator_true_handled, 720s # NULL, 720s # com_acme_coyote_method_marshal_attack, 720s # G_TYPE_BOOLEAN, 720s # 1, 720s # G_TYPE_DBUS_METHOD_INVOCATION); 720s # 720s # /* GObject signals for received D-Bus signals: */ 720s # /** 720s # * ComAcmeCoyote::surprised: 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 720s # * 720s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 720s # */ 720s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 720s # g_signal_new ("surprised", 720s # G_TYPE_FROM_INTERFACE (iface), 720s # G_SIGNAL_RUN_LAST, 720s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 720s # NULL, 720s # NULL, 720s # com_acme_coyote_signal_marshal_surprised, 720s # G_TYPE_NONE, 720s # 0); 720s # 720s # /* GObject properties for D-Bus properties: */ 720s # /** 720s # * ComAcmeCoyote:mood: 720s # * 720s # * Represents the D-Bus property "Mood". 720s # * 720s # * 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. 720s # */ 720s # g_object_interface_install_property (iface, 720s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_get_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Gets the value of the "Mood" D-Bus property. 720s # * 720s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 720s # * 720s # * 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. 720s # * 720s # * 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. 720s # */ 720s # const gchar * 720s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 720s # { 720s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 720s # 720s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_dup_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Gets a copy of the "Mood" D-Bus property. 720s # * 720s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 720s # * 720s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 720s # */ 720s # gchar * 720s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 720s # { 720s # gchar *value; 720s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 720s # return value; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_set_mood: (skip) 720s # * @object: A #ComAcmeCoyote. 720s # * @value: The value to set. 720s # * 720s # * Sets the "Mood" D-Bus property to @value. 720s # * 720s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 720s # */ 720s # void 720s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 720s # { 720s # g_object_set (G_OBJECT (object), "mood", value, NULL); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_emit_surprised: 720s # * @object: A #ComAcmeCoyote. 720s # * 720s # * Emits the "Surprised" D-Bus signal. 720s # */ 720s # void 720s # com_acme_coyote_emit_surprised ( 720s # ComAcmeCoyote *object) 720s # { 720s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Run() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_run ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Run", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_run(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_run_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_run_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_run_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Run", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_sleep ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Sleep", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_sleep(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_sleep_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_sleep_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_sleep_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Sleep", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 720s # */ 720s # void 720s # com_acme_coyote_call_attack ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 720s # "Attack", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # callback, 720s # user_data); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack_finish: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Finishes an operation started with com_acme_coyote_call_attack(). 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_attack_finish ( 720s # ComAcmeCoyote *proxy, 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_call_attack_sync: 720s # * @proxy: A #ComAcmeCoyoteProxy. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL. 720s # * 720s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 720s # * 720s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 720s # */ 720s # gboolean 720s # com_acme_coyote_call_attack_sync ( 720s # ComAcmeCoyote *proxy, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GVariant *_ret; 720s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 720s # "Attack", 720s # g_variant_new ("()"), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # cancellable, 720s # error); 720s # if (_ret == NULL) 720s # goto _out; 720s # g_variant_get (_ret, 720s # "()"); 720s # g_variant_unref (_ret); 720s # _out: 720s # return _ret != NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_run: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_run ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_sleep: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_sleep ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_complete_attack: 720s # * @object: A #ComAcmeCoyote. 720s # * @invocation: (transfer full): A #GDBusMethodInvocation. 720s # * 720s # * 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. 720s # * 720s # * This method will free @invocation, you cannot use it afterwards. 720s # */ 720s # void 720s # com_acme_coyote_complete_attack ( 720s # ComAcmeCoyote *object G_GNUC_UNUSED, 720s # GDBusMethodInvocation *invocation) 720s # { 720s # g_dbus_method_invocation_return_value (invocation, 720s # g_variant_new ("()")); 720s # } 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * ComAcmeCoyoteProxy: 720s # * 720s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteProxyClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #ComAcmeCoyoteProxy. 720s # */ 720s # 720s # struct _ComAcmeCoyoteProxyPrivate 720s # { 720s # GData *qdata; 720s # }; 720s # 720s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 720s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 720s # 720s # #endif 720s # static void 720s # com_acme_coyote_proxy_finalize (GObject *object) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 720s # g_datalist_clear (&proxy->priv->qdata); 720s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_get_property (GObject *object, 720s # guint prop_id, 720s # GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # GVariant *variant; 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 720s # if (info->use_gvariant) 720s # { 720s # g_value_set_variant (value, variant); 720s # } 720s # else 720s # { 720s # if (variant != NULL) 720s # g_dbus_gvariant_to_gvalue (variant, value); 720s # } 720s # if (variant != NULL) 720s # g_variant_unref (variant); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 720s # GAsyncResult *res, 720s # gpointer user_data) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info = user_data; 720s # GError *error; 720s # GVariant *_ret; 720s # error = NULL; 720s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 720s # if (!_ret) 720s # { 720s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 720s # info->parent_struct.name, 720s # error->message, g_quark_to_string (error->domain), error->code); 720s # g_error_free (error); 720s # } 720s # else 720s # { 720s # g_variant_unref (_ret); 720s # } 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_set_property (GObject *object, 720s # guint prop_id, 720s # const GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # GVariant *variant; 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_dbus_proxy_call (G_DBUS_PROXY (object), 720s # "org.freedesktop.DBus.Properties.Set", 720s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 720s # G_DBUS_CALL_FLAGS_NONE, 720s # -1, 720s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 720s # g_variant_unref (variant); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 720s # const gchar *sender_name G_GNUC_UNUSED, 720s # const gchar *signal_name, 720s # GVariant *parameters) 720s # { 720s # _ExtendedGDBusSignalInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # gsize n; 720s # guint signal_id; 720s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 720s # if (info == NULL) 720s # return; 720s # num_params = g_variant_n_children (parameters); 720s # paramv = g_new0 (GValue, num_params + 1); 720s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 720s # g_value_set_object (¶mv[0], proxy); 720s # g_variant_iter_init (&iter, parameters); 720s # n = 1; 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 720s # g_signal_emitv (paramv, signal_id, 0, NULL); 720s # for (n = 0; n < num_params + 1; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 720s # GVariant *changed_properties, 720s # const gchar *const *invalidated_properties) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 720s # guint n; 720s # const gchar *key; 720s # GVariantIter *iter; 720s # _ExtendedGDBusPropertyInfo *info; 720s # g_variant_get (changed_properties, "a{sv}", &iter); 720s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 720s # g_datalist_remove_data (&proxy->priv->qdata, key); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # g_variant_iter_free (iter); 720s # for (n = 0; invalidated_properties[n] != NULL; n++) 720s # { 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 720s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 720s # if (info != NULL) 720s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 720s # } 720s # } 720s # 720s # static const gchar * 720s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 720s # GVariant *variant; 720s # const gchar *value = NULL; 720s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 720s # if (variant != NULL) 720s # { 720s # value = g_variant_get_string (variant, NULL); 720s # g_variant_unref (variant); 720s # } 720s # return value; 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 720s # #else 720s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 720s # #endif 720s # 720s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusProxyClass *proxy_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 720s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 720s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 720s # 720s # proxy_class = G_DBUS_PROXY_CLASS (klass); 720s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 720s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 720s # 720s # com_acme_coyote_override_properties (gobject_class, 1); 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 720s # { 720s # iface->get_mood = com_acme_coyote_proxy_get_mood; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # com_acme_coyote_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with com_acme_coyote_proxy_new(). 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_sync: 720s # * @connection: A #GDBusConnection. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 720s # * @user_data: User data to pass to @callback. 720s # * 720s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 720s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 720s # * 720s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 720s # */ 720s # void 720s # com_acme_coyote_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data) 720s # { 720s # 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); 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus_finish: 720s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 720s # * @error: Return location for error or %NULL 720s # * 720s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error) 720s # { 720s # GObject *ret; 720s # GObject *source_object; 720s # source_object = g_async_result_get_source_object (res); 720s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 720s # g_object_unref (source_object); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_proxy_new_for_bus_sync: 720s # * @bus_type: A #GBusType. 720s # * @flags: Flags from the #GDBusProxyFlags enumeration. 720s # * @name: A bus name (well-known or unique). 720s # * @object_path: An object path. 720s # * @cancellable: (nullable): A #GCancellable or %NULL. 720s # * @error: Return location for error or %NULL 720s # * 720s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 720s # * 720s # * The calling thread is blocked until a reply is received. 720s # * 720s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error) 720s # { 720s # GInitable *ret; 720s # 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); 720s # if (ret != NULL) 720s # return COM_ACME_COYOTE (ret); 720s # else 720s # return NULL; 720s # } 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # 720s # /** 720s # * ComAcmeCoyoteSkeleton: 720s # * 720s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 720s # */ 720s # 720s # /** 720s # * ComAcmeCoyoteSkeletonClass: 720s # * @parent_class: The parent class. 720s # * 720s # * Class structure for #ComAcmeCoyoteSkeleton. 720s # */ 720s # 720s # struct _ComAcmeCoyoteSkeletonPrivate 720s # { 720s # GValue *properties; 720s # GList *changed_properties; 720s # GSource *changed_properties_idle_source; 720s # GMainContext *context; 720s # GMutex lock; 720s # }; 720s # 720s # static void 720s # _com_acme_coyote_skeleton_handle_method_call ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name, 720s # const gchar *method_name, 720s # GVariant *parameters, 720s # GDBusMethodInvocation *invocation, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # _ExtendedGDBusMethodInfo *info; 720s # GVariantIter iter; 720s # GVariant *child; 720s # GValue *paramv; 720s # gsize num_params; 720s # guint num_extra; 720s # gsize n; 720s # guint signal_id; 720s # GValue return_value = G_VALUE_INIT; 720s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 720s # g_assert (info != NULL); 720s # num_params = g_variant_n_children (parameters); 720s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 720s # n = 0; 720s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 720s # g_value_set_object (¶mv[n++], skeleton); 720s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 720s # g_value_set_object (¶mv[n++], invocation); 720s # if (info->pass_fdlist) 720s # { 720s # #ifdef G_OS_UNIX 720s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 720s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 720s # #else 720s # g_assert_not_reached (); 720s # #endif 720s # } 720s # g_variant_iter_init (&iter, parameters); 720s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 720s # { 720s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 720s # if (arg_info->use_gvariant) 720s # { 720s # g_value_init (¶mv[n], G_TYPE_VARIANT); 720s # g_value_set_variant (¶mv[n], child); 720s # n++; 720s # } 720s # else 720s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 720s # g_variant_unref (child); 720s # } 720s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 720s # g_value_init (&return_value, G_TYPE_BOOLEAN); 720s # g_signal_emitv (paramv, signal_id, 0, &return_value); 720s # if (!g_value_get_boolean (&return_value)) 720s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 720s # g_value_unset (&return_value); 720s # for (n = 0; n < num_params + num_extra; n++) 720s # g_value_unset (¶mv[n]); 720s # g_free (paramv); 720s # } 720s # 720s # static GVariant * 720s # _com_acme_coyote_skeleton_handle_get_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # GVariant *ret; 720s # ret = NULL; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # g_value_init (&value, pspec->value_type); 720s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 720s # g_value_unset (&value); 720s # } 720s # return ret; 720s # } 720s # 720s # static gboolean 720s # _com_acme_coyote_skeleton_handle_set_property ( 720s # GDBusConnection *connection G_GNUC_UNUSED, 720s # const gchar *sender G_GNUC_UNUSED, 720s # const gchar *object_path G_GNUC_UNUSED, 720s # const gchar *interface_name G_GNUC_UNUSED, 720s # const gchar *property_name, 720s # GVariant *variant, 720s # GError **error, 720s # gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GValue value = G_VALUE_INIT; 720s # GParamSpec *pspec; 720s # _ExtendedGDBusPropertyInfo *info; 720s # gboolean ret; 720s # ret = FALSE; 720s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 720s # g_assert (info != NULL); 720s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 720s # if (pspec == NULL) 720s # { 720s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 720s # } 720s # else 720s # { 720s # if (info->use_gvariant) 720s # g_value_set_variant (&value, variant); 720s # else 720s # g_dbus_gvariant_to_gvalue (variant, &value); 720s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 720s # g_value_unset (&value); 720s # ret = TRUE; 720s # } 720s # return ret; 720s # } 720s # 720s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 720s # { 720s # _com_acme_coyote_skeleton_handle_method_call, 720s # _com_acme_coyote_skeleton_handle_get_property, 720s # _com_acme_coyote_skeleton_handle_set_property, 720s # {NULL} 720s # }; 720s # 720s # static GDBusInterfaceInfo * 720s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return com_acme_coyote_interface_info (); 720s # } 720s # 720s # static GDBusInterfaceVTable * 720s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 720s # { 720s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 720s # } 720s # 720s # static GVariant * 720s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 720s # 720s # GVariantBuilder builder; 720s # guint n; 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 720s # goto out; 720s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 720s # { 720s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 720s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 720s # { 720s # GVariant *value; 720s # 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); 720s # if (value != NULL) 720s # { 720s # g_variant_take_ref (value); 720s # g_variant_builder_add (&builder, "{sv}", info->name, value); 720s # g_variant_unref (value); 720s # } 720s # } 720s # } 720s # out: 720s # return g_variant_builder_end (&builder); 720s # } 720s # 720s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 720s # 720s # static void 720s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 720s # gboolean emit_changed = FALSE; 720s # 720s # g_mutex_lock (&skeleton->priv->lock); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # { 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # skeleton->priv->changed_properties_idle_source = NULL; 720s # emit_changed = TRUE; 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # 720s # if (emit_changed) 720s # _com_acme_coyote_emit_changed (skeleton); 720s # } 720s # 720s # static void 720s # _com_acme_coyote_on_signal_surprised ( 720s # ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # 720s # GList *connections, *l; 720s # GVariant *signal_variant; 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # 720s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 720s # for (l = connections; l != NULL; l = l->next) 720s # { 720s # GDBusConnection *connection = l->data; 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 720s # signal_variant, NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # 720s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 720s # 720s # #else 720s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 720s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 720s # 720s # #endif 720s # static void 720s # com_acme_coyote_skeleton_finalize (GObject *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # guint n; 720s # for (n = 0; n < 1; n++) 720s # g_value_unset (&skeleton->priv->properties[n]); 720s # g_free (skeleton->priv->properties); 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # if (skeleton->priv->changed_properties_idle_source != NULL) 720s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 720s # g_main_context_unref (skeleton->priv->context); 720s # g_mutex_clear (&skeleton->priv->lock); 720s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_get_property (GObject *object, 720s # guint prop_id, 720s # GValue *value, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # } 720s # 720s # static gboolean 720s # _com_acme_coyote_emit_changed (gpointer user_data) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 720s # GList *l; 720s # GVariantBuilder builder; 720s # GVariantBuilder invalidated_builder; 720s # guint num_changes; 720s # 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 720s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 720s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 720s # { 720s # ChangedProperty *cp = l->data; 720s # GVariant *variant; 720s # const GValue *cur_value; 720s # 720s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 720s # if (!_g_value_equal (cur_value, &cp->orig_value)) 720s # { 720s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 720s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 720s # g_variant_unref (variant); 720s # num_changes++; 720s # } 720s # } 720s # if (num_changes > 0) 720s # { 720s # GList *connections, *ll; 720s # GVariant *signal_variant; 720s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 720s # &builder, &invalidated_builder)); 720s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 720s # for (ll = connections; ll != NULL; ll = ll->next) 720s # { 720s # GDBusConnection *connection = ll->data; 720s # 720s # g_dbus_connection_emit_signal (connection, 720s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 720s # "org.freedesktop.DBus.Properties", 720s # "PropertiesChanged", 720s # signal_variant, 720s # NULL); 720s # } 720s # g_variant_unref (signal_variant); 720s # g_list_free_full (connections, g_object_unref); 720s # } 720s # else 720s # { 720s # g_variant_builder_clear (&builder); 720s # g_variant_builder_clear (&invalidated_builder); 720s # } 720s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 720s # skeleton->priv->changed_properties = NULL; 720s # skeleton->priv->changed_properties_idle_source = NULL; 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # return FALSE; 720s # } 720s # 720s # static void 720s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 720s # { 720s # ChangedProperty *cp; 720s # GList *l; 720s # cp = NULL; 720s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 720s # { 720s # ChangedProperty *i_cp = l->data; 720s # if (i_cp->info == info) 720s # { 720s # cp = i_cp; 720s # break; 720s # } 720s # } 720s # if (cp == NULL) 720s # { 720s # cp = g_new0 (ChangedProperty, 1); 720s # cp->prop_id = prop_id; 720s # cp->info = info; 720s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 720s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 720s # g_value_copy (orig_value, &cp->orig_value); 720s # } 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_notify (GObject *object, 720s # GParamSpec *pspec G_GNUC_UNUSED) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_mutex_lock (&skeleton->priv->lock); 720s # if (skeleton->priv->changed_properties != NULL && 720s # skeleton->priv->changed_properties_idle_source == NULL) 720s # { 720s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 720s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 720s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 720s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 720s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 720s # g_source_unref (skeleton->priv->changed_properties_idle_source); 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_set_property (GObject *object, 720s # guint prop_id, 720s # const GValue *value, 720s # GParamSpec *pspec) 720s # { 720s # const _ExtendedGDBusPropertyInfo *info; 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # g_assert (prop_id != 0 && prop_id - 1 < 1); 720s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 720s # g_mutex_lock (&skeleton->priv->lock); 720s # g_object_freeze_notify (object); 720s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 720s # { 720s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 720s # info->emits_changed_signal) 720s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 720s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 720s # g_object_notify_by_pspec (object, pspec); 720s # } 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # g_object_thaw_notify (object); 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 720s # { 720s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 720s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 720s # #else 720s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 720s # #endif 720s # 720s # g_mutex_init (&skeleton->priv->lock); 720s # skeleton->priv->context = g_main_context_ref_thread_default (); 720s # skeleton->priv->properties = g_new0 (GValue, 1); 720s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 720s # } 720s # 720s # static const gchar * 720s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 720s # { 720s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 720s # const gchar *value; 720s # g_mutex_lock (&skeleton->priv->lock); 720s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 720s # g_mutex_unlock (&skeleton->priv->lock); 720s # return value; 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 720s # { 720s # GObjectClass *gobject_class; 720s # GDBusInterfaceSkeletonClass *skeleton_class; 720s # 720s # gobject_class = G_OBJECT_CLASS (klass); 720s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 720s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 720s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 720s # gobject_class->notify = com_acme_coyote_skeleton_notify; 720s # 720s # 720s # com_acme_coyote_override_properties (gobject_class, 1); 720s # 720s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 720s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 720s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 720s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 720s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 720s # 720s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 720s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 720s # #endif 720s # } 720s # 720s # static void 720s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 720s # { 720s # iface->surprised = _com_acme_coyote_on_signal_surprised; 720s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 720s # } 720s # 720s # /** 720s # * com_acme_coyote_skeleton_new: 720s # * 720s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 720s # * 720s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 720s # */ 720s # ComAcmeCoyote * 720s # com_acme_coyote_skeleton_new (void) 720s # { 720s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 720s # } 720s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 720s # tmpdir: /tmp/tmpqntfiu82 720s # codegen: /usr/bin/gdbus-codegen 720s # /tmp/tmpqntfiu82/tmp3591zf1z.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqntfiu82/tmp3591zf1z.xml', '--output', '-', '--header'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for FDPassing */ 720s # 720s # #define TYPE_FDPASSING (fdpassing_get_type ()) 720s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 720s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 720s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 720s # 720s # struct _FDPassing; 720s # typedef struct _FDPassing FDPassing; 720s # typedef struct _FDPassingIface FDPassingIface; 720s # 720s # struct _FDPassingIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # gboolean (*handle_hello_fd) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *arg_greeting); 720s # 720s # gboolean (*handle_no_annotation) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale); 720s # 720s # gboolean (*handle_no_annotation_nested) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *arg_files); 720s # 720s # }; 720s # 720s # GType fdpassing_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *fdpassing_interface_info (void); 720s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void fdpassing_complete_hello_fd ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *response); 720s # 720s # void fdpassing_complete_no_annotation ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *response, 720s # const gchar *response_locale); 720s # 720s # void fdpassing_complete_no_annotation_nested ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void fdpassing_call_hello_fd ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GUnixFDList *fd_list, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_hello_fd_finish ( 720s # FDPassing *proxy, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_hello_fd_sync ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GUnixFDList *fd_list, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_finish ( 720s # FDPassing *proxy, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation_nested ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_finish ( 720s # FDPassing *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 720s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 720s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 720s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 720s # 720s # typedef struct _FDPassingProxy FDPassingProxy; 720s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 720s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 720s # 720s # struct _FDPassingProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # FDPassingProxyPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 720s # #endif 720s # 720s # void fdpassing_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 720s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 720s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 720s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 720s # 720s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 720s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 720s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 720s # 720s # struct _FDPassingSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # FDPassingSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 720s # #endif 720s # 720s # FDPassing *fdpassing_skeleton_new (void); 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s # /tmp/tmpqntfiu82/tmp63mfyv7c.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqntfiu82/tmp63mfyv7c.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for FDPassing */ 720s # 720s # #define TYPE_FDPASSING (fdpassing_get_type ()) 720s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 720s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 720s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 720s # 720s # struct _FDPassing; 720s # typedef struct _FDPassing FDPassing; 720s # typedef struct _FDPassingIface FDPassingIface; 720s # 720s # struct _FDPassingIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # gboolean (*handle_hello_fd) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *arg_greeting); 720s # 720s # gboolean (*handle_no_annotation) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale); 720s # 720s # gboolean (*handle_no_annotation_nested) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *arg_files); 720s # 720s # }; 720s # 720s # GType fdpassing_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *fdpassing_interface_info (void); 720s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void fdpassing_complete_hello_fd ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *response); 720s # 720s # void fdpassing_complete_no_annotation ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GVariant *response, 720s # const gchar *response_locale); 720s # 720s # void fdpassing_complete_no_annotation_nested ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void fdpassing_call_hello_fd ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GUnixFDList *fd_list, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_hello_fd_finish ( 720s # FDPassing *proxy, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_hello_fd_sync ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GUnixFDList *fd_list, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_finish ( 720s # FDPassing *proxy, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation_nested ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_finish ( 720s # FDPassing *proxy, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 720s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 720s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 720s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 720s # 720s # typedef struct _FDPassingProxy FDPassingProxy; 720s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 720s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 720s # 720s # struct _FDPassingProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # FDPassingProxyPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 720s # #endif 720s # 720s # void fdpassing_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 720s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 720s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 720s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 720s # 720s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 720s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 720s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 720s # 720s # struct _FDPassingSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # FDPassingSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 720s # #endif 720s # 720s # FDPassing *fdpassing_skeleton_new (void); 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s # /tmp/tmpqntfiu82/tmp3r8jhcjh.xml: 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # 720s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqntfiu82/tmp3r8jhcjh.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 720s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 720s # Output: /* 720s # * This file is generated by gdbus-codegen, do not modify it. 720s # * 720s # * The license of this code is the same as for the D-Bus interface description 720s # * it was derived from. Note that it links to GLib, so must comply with the 720s # * LGPL linking clauses. 720s # */ 720s # 720s # #ifndef __STDOUT__ 720s # #define __STDOUT__ 720s # 720s # #include 720s # 720s # G_BEGIN_DECLS 720s # 720s # 720s # /* ------------------------------------------------------------------------ */ 720s # /* Declarations for FDPassing */ 720s # 720s # #define TYPE_FDPASSING (fdpassing_get_type ()) 720s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 720s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 720s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 720s # 720s # struct _FDPassing; 720s # typedef struct _FDPassing FDPassing; 720s # typedef struct _FDPassingIface FDPassingIface; 720s # 720s # struct _FDPassingIface 720s # { 720s # GTypeInterface parent_iface; 720s # 720s # gboolean (*handle_hello_fd) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *arg_greeting); 720s # 720s # gboolean (*handle_no_annotation) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale); 720s # 720s # gboolean (*handle_no_annotation_nested) ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # GVariant *arg_files); 720s # 720s # }; 720s # 720s # GType fdpassing_get_type (void) G_GNUC_CONST; 720s # 720s # GDBusInterfaceInfo *fdpassing_interface_info (void); 720s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 720s # 720s # 720s # /* D-Bus method call completion functions: */ 720s # void fdpassing_complete_hello_fd ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # const gchar *response); 720s # 720s # void fdpassing_complete_no_annotation ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list, 720s # GVariant *response, 720s # const gchar *response_locale); 720s # 720s # void fdpassing_complete_no_annotation_nested ( 720s # FDPassing *object, 720s # GDBusMethodInvocation *invocation, 720s # GUnixFDList *fd_list); 720s # 720s # 720s # 720s # /* D-Bus method calls: */ 720s # void fdpassing_call_hello_fd ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_hello_fd_finish ( 720s # FDPassing *proxy, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_hello_fd_sync ( 720s # FDPassing *proxy, 720s # const gchar *arg_greeting, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # gchar **out_response, 720s # GUnixFDList **out_fd_list, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_finish ( 720s # FDPassing *proxy, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GUnixFDList **out_fd_list, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_greeting, 720s # const gchar *arg_greeting_locale, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # GVariant **out_response, 720s # gchar **out_response_locale, 720s # GUnixFDList **out_fd_list, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_call_no_annotation_nested ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_finish ( 720s # FDPassing *proxy, 720s # GUnixFDList **out_fd_list, 720s # GAsyncResult *res, 720s # GError **error); 720s # 720s # gboolean fdpassing_call_no_annotation_nested_sync ( 720s # FDPassing *proxy, 720s # GVariant *arg_files, 720s # GDBusCallFlags call_flags, 720s # gint timeout_msec, 720s # GUnixFDList *fd_list, 720s # GUnixFDList **out_fd_list, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 720s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 720s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 720s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 720s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 720s # 720s # typedef struct _FDPassingProxy FDPassingProxy; 720s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 720s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 720s # 720s # struct _FDPassingProxy 720s # { 720s # /*< private >*/ 720s # GDBusProxy parent_instance; 720s # FDPassingProxyPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingProxyClass 720s # { 720s # GDBusProxyClass parent_class; 720s # }; 720s # 720s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 720s # #endif 720s # 720s # void fdpassing_proxy_new ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_sync ( 720s # GDBusConnection *connection, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # void fdpassing_proxy_new_for_bus ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GAsyncReadyCallback callback, 720s # gpointer user_data); 720s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 720s # GAsyncResult *res, 720s # GError **error); 720s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 720s # GBusType bus_type, 720s # GDBusProxyFlags flags, 720s # const gchar *name, 720s # const gchar *object_path, 720s # GCancellable *cancellable, 720s # GError **error); 720s # 720s # 720s # /* ---- */ 720s # 720s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 720s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 720s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 720s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 720s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 720s # 720s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 720s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 720s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 720s # 720s # struct _FDPassingSkeleton 720s # { 720s # /*< private >*/ 720s # GDBusInterfaceSkeleton parent_instance; 720s # FDPassingSkeletonPrivate *priv; 720s # }; 720s # 720s # struct _FDPassingSkeletonClass 720s # { 720s # GDBusInterfaceSkeletonClass parent_class; 720s # }; 720s # 720s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 720s # 720s # #if GLIB_CHECK_VERSION(2, 44, 0) 720s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 720s # #endif 720s # 720s # FDPassing *fdpassing_skeleton_new (void); 720s # 720s # 720s # G_END_DECLS 720s # 720s # #endif /* __STDOUT__ */ 720s 1..39 720s ok - glib/codegen.py.test 720s # Running test: glib/type.test 720s TAP version 14 720s # random seed: R02S6f1c3be05099558259ebac1f9554e4a9 720s 1..6 720s # Start of type tests 720s ok 1 /type/registration-serial 720s ok 2 /type/interface-prerequisite 720s ok 3 /type/interface-check 720s ok 4 /type/next-base 720s ok 5 /type/is-a 720s # Invalid types can?t be queried. 720s # Unclassed types can?t be queried. 720s ok 6 /type/query 720s # End of type tests 720s ok - glib/type.test 720s # Running test: glib/dynamictype.test 720s TAP version 14 720s # random seed: R02S874c0cc4ec2244b0cfbb51f4ff703ba7 720s 1..2 720s # Start of gobject tests 720s ok 1 /gobject/dynamic-type 720s # Start of dynamic-type tests 720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 720s ok 2 /gobject/dynamic-type/query 720s # End of dynamic-type tests 720s # End of gobject tests 720s ok - glib/dynamictype.test 720s # Running test: glib/atomic-c-89.test 720s TAP version 14 720s # random seed: R02S0afea8845416eb035242bd56e9d1ce39 720s 1..2 720s # Start of atomic tests 720s ok 1 /atomic/types 720s ok 2 /atomic/threaded 720s # End of atomic tests 720s ok - glib/atomic-c-89.test 720s # Running test: glib/hook.test 720s TAP version 14 720s # random seed: R02S29af34b7d71604338ce95dc4e171d276 720s 1..2 720s # Start of hook tests 720s ok 1 /hook/basics 720s ok 2 /hook/corner-cases 720s # End of hook tests 720s ok - glib/hook.test 720s # Running test: glib/slist.test 720s TAP version 14 720s # random seed: R02S42714a9aac7a34e67b4ae8cb8268516a 720s 1..14 720s # Start of slist tests 720s ok 1 /slist/sort 720s ok 2 /slist/sort-with-data 720s ok 3 /slist/insert-sorted 720s ok 4 /slist/insert-sorted-with-data 720s ok 5 /slist/reverse 720s ok 6 /slist/nth 720s ok 7 /slist/remove 720s ok 8 /slist/remove-all 720s ok 9 /slist/insert 720s ok 10 /slist/position 720s ok 11 /slist/concat 720s ok 12 /slist/copy 720s # Start of sort tests 720s ok 13 /slist/sort/stable 720s # End of sort tests 720s # Start of copy tests 720s ok 14 /slist/copy/deep 720s # End of copy tests 720s # End of slist tests 720s ok - glib/slist.test 720s # Running test: glib/642026-ec.test 720s TAP version 14 720s # random seed: R02S0ab34d74980eb210581af44f7c455d08 720s 1..1 720s # Start of glib tests 720s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 720s ok 1 /glib/642026 720s # End of glib tests 720s ok - glib/642026-ec.test 720s # Running test: glib/markup-subparser.test 720s TAP version 14 720s # random seed: R02S19e340dff37f8816f9ca4e5fd7461d23 720s 1..14 720s # Start of glib tests 720s # Start of markup tests 720s # Start of subparser tests 720s # Start of success tests 720s ok 1 /glib/markup/subparser/success/0 720s ok 2 /glib/markup/subparser/success/1 720s ok 3 /glib/markup/subparser/success/2 720s ok 4 /glib/markup/subparser/success/3 720s ok 5 /glib/markup/subparser/success/4 720s ok 6 /glib/markup/subparser/success/5 720s ok 7 /glib/markup/subparser/success/6 720s # End of success tests 720s # Start of failure tests 720s ok 8 /glib/markup/subparser/failure/0 720s ok 9 /glib/markup/subparser/failure/1 720s ok 10 /glib/markup/subparser/failure/2 720s ok 11 /glib/markup/subparser/failure/3 720s ok 12 /glib/markup/subparser/failure/4 720s ok 13 /glib/markup/subparser/failure/5 720s ok 14 /glib/markup/subparser/failure/6 720s # End of failure tests 720s # End of subparser tests 720s # End of markup tests 720s # End of glib tests 720s ok - glib/markup-subparser.test 720s # Running test: glib/rcbox.test 720s TAP version 14 720s # random seed: R02Se2d93224cb3e1c6485bfbc5b9e2c43d4 720s 1..8 720s # Start of rcbox tests 720s ok 1 /rcbox/new 720s # global_point = 0xc9400b8 720s ok 2 /rcbox/release-full 720s # global_point_a = 0xc9400b8 720s # global_point_b = 0xc947fb8 720s ok 3 /rcbox/dup 720s ok 4 /rcbox/alignment 720s # End of rcbox tests 720s # Start of atomic-rcbox tests 720s ok 5 /atomic-rcbox/new 720s # global_point = 0xc9401e8 720s ok 6 /atomic-rcbox/release-full 720s # global_point_a = 0xc9401e8 720s # global_point_b = 0xc9401c8 720s ok 7 /atomic-rcbox/dup 720s ok 8 /atomic-rcbox/alignment 720s # End of atomic-rcbox tests 720s ok - glib/rcbox.test 720s # Running test: glib/portal-support-none.test 720s TAP version 14 720s # random seed: R02S6bc78b2d5568ade2a4a062bda636fe64 720s 1..1 720s # Start of portal-support tests 720s ok 1 /portal-support/none 720s # End of portal-support tests 720s ok - glib/portal-support-none.test 720s # Running test: glib/permission.test 720s TAP version 14 720s # random seed: R02Se3155fb0126ad4c0df3f1472835ff96f 720s 1..1 720s # Start of permission tests 720s ok 1 /permission/simple 720s # End of permission tests 720s ok - glib/permission.test 720s # Running test: glib/autoptr-gio.test 720s TAP version 14 720s # random seed: R02S91edc888ea8253a70bfb4e99137f30ba 720s 1..1 720s # Start of autoptr tests 720s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 720s ok 1 /autoptr/autoptr 720s # End of autoptr tests 720s ok - glib/autoptr-gio.test 720s # Running test: glib/1bit-mutex.test 720s TAP version 14 720s # random seed: R02S0d802222a06dcfcdd9ef4854d78c362a 720s 1..2 720s # Start of glib tests 720s # Start of 1bit-mutex tests 721s ok 1 /glib/1bit-mutex/int 721s # slow test /glib/1bit-mutex/int executed in 1.05 secs 722s ok 2 /glib/1bit-mutex/pointer 722s # slow test /glib/1bit-mutex/pointer executed in 1.00 secs 722s # End of 1bit-mutex tests 722s # End of glib tests 722s ok - glib/1bit-mutex.test 722s # Running test: glib/strfuncs.test 722s TAP version 14 722s # random seed: R02Sc8cebb90ce96b392c68ace81c28cc21a 722s 1..50 722s # Start of strfuncs tests 722s ok 1 /strfuncs/ascii-strcasecmp 722s ok 2 /strfuncs/ascii_strdown 722s ok 3 /strfuncs/ascii_strdup 722s ok 4 /strfuncs/ascii_strtod 722s ok 5 /strfuncs/bounds-check 722s ok 6 /strfuncs/has-prefix 722s ok 7 /strfuncs/has-prefix-macro 722s ok 8 /strfuncs/has-suffix 722s ok 9 /strfuncs/has-suffix-macro 722s ok 10 /strfuncs/memdup 722s ok 11 /strfuncs/memdup2 722s ok 12 /strfuncs/set_str 722s ok 13 /strfuncs/stpcpy 722s ok 14 /strfuncs/str_match_string 722s ok 15 /strfuncs/str_tokenize_and_fold 722s ok 16 /strfuncs/strcanon 722s ok 17 /strfuncs/strchomp 722s ok 18 /strfuncs/strchug 722s ok 19 /strfuncs/strcompress-strescape 722s ok 20 /strfuncs/strconcat 722s ok 21 /strfuncs/strdelimit 722s ok 22 /strfuncs/strdup 722s ok 23 /strfuncs/strdup-printf 722s ok 24 /strfuncs/strdupv 722s ok 25 /strfuncs/strerror 722s ok 26 /strfuncs/strip-context 722s ok 27 /strfuncs/strjoin 722s ok 28 /strfuncs/strjoinv 722s ok 29 /strfuncs/strlcat 722s ok 30 /strfuncs/strlcpy 722s ok 31 /strfuncs/strncasecmp 722s ok 32 /strfuncs/strndup 722s ok 33 /strfuncs/strnfill 722s ok 34 /strfuncs/strreverse 722s ok 35 /strfuncs/strsignal 722s ok 36 /strfuncs/strsplit 722s ok 37 /strfuncs/strsplit-set 722s ok 38 /strfuncs/strstr 722s ok 39 /strfuncs/strtod 722s ok 40 /strfuncs/strtoull-strtoll 722s ok 41 /strfuncs/strup 722s ok 42 /strfuncs/strv-contains 722s ok 43 /strfuncs/strv-equal 722s ok 44 /strfuncs/strv-length 722s ok 45 /strfuncs/test-is-to-digit 722s ok 46 /strfuncs/transliteration 722s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 722s ok 47 /strfuncs/str-equal 722s # Start of ascii-string-to-num tests 722s ok 48 /strfuncs/ascii-string-to-num/pathological 722s ok 49 /strfuncs/ascii-string-to-num/usual 722s # End of ascii-string-to-num tests 722s # Start of strdup tests 722s ok 50 /strfuncs/strdup/inline 722s # End of strdup tests 722s # End of strfuncs tests 722s ok - glib/strfuncs.test 722s # Running test: glib/queue.test 722s TAP version 14 722s # random seed: R02Sc853ce43222c786ae03f076e743a32cb 722s 1..12 722s # Start of queue tests 722s ok 1 /queue/basic 722s ok 2 /queue/copy 722s ok 3 /queue/off-by-one 722s ok 4 /queue/find-custom 722s ok 5 /queue/static 722s ok 6 /queue/clear 722s ok 7 /queue/free-full 722s ok 8 /queue/clear-full 722s ok 9 /queue/insert-sibling-link 722s ok 10 /queue/push-nth-link 722s # Start of clear-full tests 722s ok 11 /queue/clear-full/noop 722s # End of clear-full tests 722s # Start of random tests 723s ok 12 /queue/random/seed:193564324 723s # End of random tests 723s # End of queue tests 723s ok - glib/queue.test 723s # Running test: glib/macros.test 723s TAP version 14 723s # random seed: R02S5370f9b93bccc5bd732712370d116487 723s 1..3 723s # Start of alignof tests 723s ok 1 /alignof/fallback 723s # End of alignof tests 723s # Start of assert tests 723s ok 2 /assert/static 723s # End of assert tests 723s # Start of struct tests 723s ok 3 /struct/sizeof_member 723s # End of struct tests 723s ok - glib/macros.test 723s # Running test: glib/contexts.test 723s TAP version 14 723s # random seed: R02S151602ced4c13a26afde73693dd8431f 723s 1..5 723s # Start of gio tests 723s # Start of contexts tests 723s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 723s ok 1 /gio/contexts/thread-independence 723s ok 2 /gio/contexts/context-independence 723s # Start of context-specific tests 723s ok 3 /gio/contexts/context-specific/identity 723s ok 4 /gio/contexts/context-specific/emit 723s ok 5 /gio/contexts/context-specific/emit-and-unref 723s # End of context-specific tests 723s # End of contexts tests 723s # End of gio tests 723s ok - glib/contexts.test 723s # Running test: glib/gsocketclient-slow.test 723s TAP version 14 723s # random seed: R02S42e2d0ad88ce4d90726363110849da95 723s 1..4 723s # Start of socket-client tests 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 723s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 723s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc3af540 and GSocketClientAsyncConnectData 0xc3ab1f0 723s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 723s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 723s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc3b09f8 for GSocketClientAsyncConnectData 0xc3ab1f0 723s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 723s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 723s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 723s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 723s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 723s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 723s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc3b1a38 for GSocketClientAsyncConnectData 0xc3ab1f0 723s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 723s # Executing: glib/gsocketclient-slow.test 724s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 724s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 724s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 724s ok 1 /socket-client/connection-fail 724s # slow test /socket-client/connection-fail executed in 1.20 secs 724s # Start of happy-eyeballs tests 724s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc3b2920 and GSocketClientAsyncConnectData 0xc3ab1f0 724s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 724s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 724s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc3b2f58 for GSocketClientAsyncConnectData 0xc3ab1f0 724s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 724s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 724s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 724s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 724s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 724s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 724s ok 2 /socket-client/happy-eyeballs/slow 724s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 724s # Start of cancellation tests 724s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc3b3560 and GSocketClientAsyncConnectData 0xc3b2c88 724s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 724s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 724s ok 3 /socket-client/happy-eyeballs/cancellation/instant 724s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc3b3ba0 and GSocketClientAsyncConnectData 0xc3b3710 724s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 724s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 724s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc3b4210 for GSocketClientAsyncConnectData 0xc3b3710 724s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 725s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 725s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 725s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 725s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 725s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 725s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 725s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 725s # End of cancellation tests 725s # End of happy-eyeballs tests 725s # End of socket-client tests 725s ok - glib/gsocketclient-slow.test 725s # Running test: glib/gdbus-connection.test 725s TAP version 14 725s # random seed: R02Sf08e596938a2e16c4230e9e474d3d3eb 725s 1..9 725s # Start of gdbus tests 725s # Start of connection tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/bus-failure/.dirs/runtime 725s ok 1 /gdbus/connection/bus-failure 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/basic/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 2 /gdbus/connection/basic 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/life-cycle/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 3 /gdbus/connection/life-cycle 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/send/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 4 /gdbus/connection/send 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signals/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 5 /gdbus/connection/signals 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/signal-match-rules/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 6 /gdbus/connection/signal-match-rules 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/filter/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 7 /gdbus/connection/filter 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/serials/.dirs/runtime 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 8 /gdbus/connection/serials 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YHA4W2/gdbus/connection/cancel/.dirs/runtime 725s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 725s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 725s ok 9 /gdbus/connection/cancel 725s # End of connection tests 725s # End of gdbus tests 725s ok - glib/gdbus-connection.test 725s # Running test: glib/utils-c-89.test 725s TAP version 14 725s # random seed: R02S522392f70eeab27dd482d4ec5db0a788 725s 1..40 725s # Start of utils tests 725s ok 1 /utils/language-names 725s ok 2 /utils/locale-variants 725s ok 3 /utils/version 725s ok 4 /utils/appname 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 725s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 725s ok 5 /utils/prgname-thread-safety 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 725s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 725s ok 6 /utils/tmpdir 725s ok 7 /utils/basic_bits 725s ok 8 /utils/bits 725s ok 9 /utils/swap 725s ok 10 /utils/find-program 725s ok 11 /utils/find-program-for-path 725s ok 12 /utils/debug 725s ok 13 /utils/codeset 725s ok 14 /utils/codeset2 725s ok 15 /utils/console-charset 725s ok 16 /utils/gettext 725s ok 17 /utils/username 725s ok 18 /utils/realname 725s ok 19 /utils/hostname 725s ok 20 /utils/xdgdirs 725s ok 21 /utils/specialdir 725s # NAME: Ubuntu 725s ok 22 /utils/os-info 725s ok 23 /utils/clear-pointer 725s ok 24 /utils/clear-pointer-cast 725s ok 25 /utils/take-pointer 725s ok 26 /utils/clear-source 725s ok 27 /utils/misc-mem 725s # /utils/aligned-mem summary: Aligned memory allocator 725s # Alignment must not be zero 725s # Alignment must be a power of two 725s # Alignment must be a multiple of sizeof(void*) 725s ok 28 /utils/aligned-mem 725s # /utils/free-sized summary: Check that g_free_sized() works 725s ok 29 /utils/free-sized 725s ok 30 /utils/nullify 725s ok 31 /utils/atexit 725s ok 32 /utils/check-setuid 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 725s ok 33 /utils/int-limits 725s ok 34 /utils/clear-list 725s ok 35 /utils/clear-slist 725s # Start of specialdir tests 725s ok 36 /utils/specialdir/desktop 725s # End of specialdir tests 725s # Start of clear-pointer tests 725s ok 37 /utils/clear-pointer/side-effects 725s # End of clear-pointer tests 725s # Start of aligned-mem tests 725s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 725s ok 38 /utils/aligned-mem/alignment 725s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 725s ok 39 /utils/aligned-mem/zeroed 725s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 725s ok 40 /utils/aligned-mem/free-sized 725s # Start of subprocess tests 725s # End of subprocess tests 725s # End of aligned-mem tests 725s # End of utils tests 725s ok - glib/utils-c-89.test 725s # Running test: glib/deftype.test 725s ok - glib/deftype.test 725s # Running test: glib/gmenumodel.test 725s TAP version 14 725s # random seed: R02Sb78db7b8bfe7899df1ecf2dc4d54f702 725s 1..15 725s # Start of gmenu tests 726s ok 1 /gmenu/equality 726s # slow test /gmenu/equality executed in 0.91 secs 727s ok 2 /gmenu/random 727s # slow test /gmenu/random executed in 1.11 secs 727s ok 3 /gmenu/attributes 727s ok 4 /gmenu/links 727s ok 5 /gmenu/mutable 727s ok 6 /gmenu/convenience 727s ok 7 /gmenu/menuitem 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 727s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 727s ok 8 /gmenu/input-validation 727s # Start of dbus tests 727s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 728s ok 9 /gmenu/dbus/roundtrip 728s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 728s # Executing: glib/gmenumodel.test 729s ok 10 /gmenu/dbus/subscriptions 730s ok 11 /gmenu/dbus/threaded 730s # slow test /gmenu/dbus/threaded executed in 1.03 secs 730s # Start of peer tests 731s ok 12 /gmenu/dbus/peer/roundtrip 731s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 731s ok 13 /gmenu/dbus/peer/subscriptions 731s # End of peer tests 731s # Start of export tests 731s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 731s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 731s ok 14 /gmenu/dbus/export/error-handling 731s # End of export tests 731s # End of dbus tests 731s # Start of attributes tests 731s ok 15 /gmenu/attributes/iterate 731s # End of attributes tests 731s # End of gmenu tests 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s ok - glib/gmenumodel.test 731s # Running test: glib/struct-info.test 731s TAP version 14 731s # random seed: R02S457ae52263c31c869896aabde1154539 731s 1..4 731s # Start of struct-info tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N5YIX2/struct-info/field-iterators/.dirs/runtime 731s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 731s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 731s ok 1 /struct-info/field-iterators 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N5YIX2/struct-info/sizeof-gvalue/.dirs/runtime 731s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 731s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 731s ok 2 /struct-info/sizeof-gvalue 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N5YIX2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 731s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 731s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 731s ok 3 /struct-info/is-pointer-for-struct-method-arg 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_N5YIX2/struct-info/boxed/.dirs/runtime 731s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 731s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 731s ok 4 /struct-info/boxed 731s # End of struct-info tests 731s ok - glib/struct-info.test 731s # Running test: glib/cxx-03.test 731s TAP version 14 731s # random seed: R02S9e3e312ac27a51f9a5843cf160e96152 731s 1..2 731s # Start of gtask tests 731s # 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. 731s ok 1 /gtask/name 731s # Start of name tests 731s # 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. 731s ok 2 /gtask/name/macro-wrapper 731s # End of name tests 731s # End of gtask tests 731s ok - glib/cxx-03.test 731s # Running test: glib/references.test 731s TAP version 14 731s # random seed: R02Sf43c91bbc5729ffa8204990489d71a33 731s 1..1 731s # Start of gobject tests 731s ok 1 /gobject/references 731s # End of gobject tests 731s ok - glib/references.test 731s # Running test: glib/memory-settings-backend.test 731s TAP version 14 731s # random seed: R02Sf4b5988b9d539a96bfe78de84bddbb91 731s 1..1 731s # Start of memory-settings-backend tests 731s ok 1 /memory-settings-backend/extension-point-registered 731s # End of memory-settings-backend tests 731s ok - glib/memory-settings-backend.test 731s # Running test: glib/signal-handler.test 731s TAP version 14 731s # random seed: R02S719b9d935bde7ff23ce56ab82a10f0f7 731s 1..7 731s # Start of signal tests 731s # Start of handler tests 731s # min perf: connected 1 handlers in 0.000 seconds 731s ok 1 /signal/handler/connect-many 731s # min perf: disconnected 1 handlers in 0.000 seconds 731s ok 2 /signal/handler/disconnect-many-ordered 731s # min perf: disconnected 1 handlers in 0.000 seconds 731s ok 3 /signal/handler/disconnect-many-inverse 731s # min perf: disconnected 1 handlers in 0.000 seconds 731s ok 4 /signal/handler/disconnect-many-random 731s # min perf: disconnected 1 handlers in 0.000 seconds 731s ok 5 /signal/handler/disconnect-2-signals 731s # min perf: disconnected 1 handlers in 0.000 seconds 731s ok 6 /signal/handler/disconnect-2-objects 731s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 731s ok 7 /signal/handler/block-many 731s # End of handler tests 731s # End of signal tests 731s ok - glib/signal-handler.test 731s # Running test: glib/cxx-11.test 731s TAP version 14 731s # random seed: R02S016ac1dd106ed733769adfcafbde7084 731s 1..2 731s # Start of gtask tests 731s # 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. 731s ok 1 /gtask/name 731s # Start of name tests 731s # 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. 731s ok 2 /gtask/name/macro-wrapper 731s # End of name tests 731s # End of gtask tests 731s ok - glib/cxx-11.test 731s # Running test: glib/regex.test 731s TAP version 14 731s # random seed: R02Sedc2953b611f8e617861b7495d3e0653 731s 1..848 731s # Start of regex tests 731s ok 1 /regex/properties 731s ok 2 /regex/class 731s ok 3 /regex/lookahead 731s ok 4 /regex/lookbehind 731s ok 5 /regex/subpattern 731s ok 6 /regex/condition 731s ok 7 /regex/recursion 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 731s ok 8 /regex/multiline 731s ok 9 /regex/explicit-crlf 731s ok 10 /regex/max-lookbehind 731s ok 11 /regex/compile-errors 731s ok 12 /regex/jit-unsupported-matching 731s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 731s ok 13 /regex/unmatched-named-subpattern 731s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 731s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 731s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 731s ok 14 /regex/compiled-regex-after-jit-failure 731s # Start of new tests 731s ok 15 /regex/new/1 731s ok 16 /regex/new/2 731s ok 17 /regex/new/3 731s ok 18 /regex/new/4 731s ok 19 /regex/new/5 731s ok 20 /regex/new/6 731s ok 21 /regex/new/7 731s ok 22 /regex/new/8 731s ok 23 /regex/new/9 731s ok 24 /regex/new/10 731s ok 25 /regex/new/11 731s ok 26 /regex/new/12 731s ok 27 /regex/new/13 731s ok 28 /regex/new/14 731s ok 29 /regex/new/15 731s ok 30 /regex/new/16 731s ok 31 /regex/new/17 731s ok 32 /regex/new/18 731s ok 33 /regex/new/19 731s ok 34 /regex/new/71 731s ok 35 /regex/new/80 731s ok 36 /regex/new/82 731s # End of new tests 731s # Start of new-check-flags tests 731s ok 37 /regex/new-check-flags/20 731s ok 38 /regex/new-check-flags/21 731s ok 39 /regex/new-check-flags/22 731s ok 40 /regex/new-check-flags/23 731s ok 41 /regex/new-check-flags/24 731s ok 42 /regex/new-check-flags/25 731s ok 43 /regex/new-check-flags/26 731s ok 44 /regex/new-check-flags/27 731s ok 45 /regex/new-check-flags/28 731s ok 46 /regex/new-check-flags/29 731s ok 47 /regex/new-check-flags/30 731s ok 48 /regex/new-check-flags/31 731s ok 49 /regex/new-check-flags/32 731s ok 50 /regex/new-check-flags/33 731s ok 51 /regex/new-check-flags/34 731s ok 52 /regex/new-check-flags/35 731s ok 53 /regex/new-check-flags/36 731s # End of new-check-flags tests 731s # Start of new-fail tests 731s ok 54 /regex/new-fail/37 731s ok 55 /regex/new-fail/38 731s ok 56 /regex/new-fail/39 731s ok 57 /regex/new-fail/40 731s ok 58 /regex/new-fail/41 731s ok 59 /regex/new-fail/42 731s ok 60 /regex/new-fail/43 731s ok 61 /regex/new-fail/44 731s ok 62 /regex/new-fail/45 731s ok 63 /regex/new-fail/46 731s ok 64 /regex/new-fail/47 731s ok 65 /regex/new-fail/48 731s ok 66 /regex/new-fail/49 731s ok 67 /regex/new-fail/50 731s ok 68 /regex/new-fail/51 731s ok 69 /regex/new-fail/52 731s ok 70 /regex/new-fail/53 731s ok 71 /regex/new-fail/54 731s ok 72 /regex/new-fail/55 731s ok 73 /regex/new-fail/56 731s ok 74 /regex/new-fail/57 731s ok 75 /regex/new-fail/58 731s ok 76 /regex/new-fail/59 731s ok 77 /regex/new-fail/60 731s ok 78 /regex/new-fail/61 731s ok 79 /regex/new-fail/62 731s ok 80 /regex/new-fail/63 731s ok 81 /regex/new-fail/64 731s ok 82 /regex/new-fail/65 731s ok 83 /regex/new-fail/66 731s ok 84 /regex/new-fail/67 731s ok 85 /regex/new-fail/68 731s ok 86 /regex/new-fail/69 731s ok 87 /regex/new-fail/70 731s ok 88 /regex/new-fail/72 731s ok 89 /regex/new-fail/73 731s ok 90 /regex/new-fail/74 731s ok 91 /regex/new-fail/75 731s ok 92 /regex/new-fail/76 731s ok 93 /regex/new-fail/77 731s ok 94 /regex/new-fail/78 731s ok 95 /regex/new-fail/79 731s ok 96 /regex/new-fail/81 731s ok 97 /regex/new-fail/83 731s ok 98 /regex/new-fail/84 731s ok 99 /regex/new-fail/85 731s ok 100 /regex/new-fail/86 731s ok 101 /regex/new-fail/87 731s ok 102 /regex/new-fail/88 731s ok 103 /regex/new-fail/89 731s ok 104 /regex/new-fail/90 731s ok 105 /regex/new-fail/91 731s # End of new-fail tests 731s # Start of match-simple tests 731s ok 106 /regex/match-simple/92 731s ok 107 /regex/match-simple/93 731s ok 108 /regex/match-simple/94 731s ok 109 /regex/match-simple/95 731s ok 110 /regex/match-simple/96 731s ok 111 /regex/match-simple/97 731s ok 112 /regex/match-simple/98 731s ok 113 /regex/match-simple/99 731s ok 114 /regex/match-simple/100 731s ok 115 /regex/match-simple/101 731s ok 116 /regex/match-simple/102 731s ok 117 /regex/match-simple/103 731s ok 118 /regex/match-simple/104 731s ok 119 /regex/match-simple/105 731s ok 120 /regex/match-simple/106 731s ok 121 /regex/match-simple/107 731s ok 122 /regex/match-simple/108 731s ok 123 /regex/match-simple/109 731s ok 124 /regex/match-simple/110 731s ok 125 /regex/match-simple/111 731s ok 126 /regex/match-simple/112 731s ok 127 /regex/match-simple/113 731s ok 128 /regex/match-simple/114 731s ok 129 /regex/match-simple/115 731s ok 130 /regex/match-simple/116 731s ok 131 /regex/match-simple/117 731s ok 132 /regex/match-simple/118 731s ok 133 /regex/match-simple/119 731s ok 134 /regex/match-simple/120 731s ok 135 /regex/match-simple/121 731s ok 136 /regex/match-simple/122 731s ok 137 /regex/match-simple/123 731s ok 138 /regex/match-simple/124 731s ok 139 /regex/match-simple/125 731s ok 140 /regex/match-simple/126 731s ok 141 /regex/match-simple/127 731s ok 142 /regex/match-simple/128 731s ok 143 /regex/match-simple/129 731s ok 144 /regex/match-simple/130 731s ok 145 /regex/match-simple/131 731s ok 146 /regex/match-simple/132 731s ok 147 /regex/match-simple/133 731s ok 148 /regex/match-simple/134 731s ok 149 /regex/match-simple/135 731s ok 150 /regex/match-simple/136 731s ok 151 /regex/match-simple/137 731s ok 152 /regex/match-simple/138 731s ok 153 /regex/match-simple/139 731s ok 154 /regex/match-simple/140 731s ok 155 /regex/match-simple/141 731s ok 156 /regex/match-simple/142 731s ok 157 /regex/match-simple/143 731s ok 158 /regex/match-simple/144 731s ok 159 /regex/match-simple/145 731s ok 160 /regex/match-simple/146 731s ok 161 /regex/match-simple/147 731s ok 162 /regex/match-simple/148 731s ok 163 /regex/match-simple/149 731s ok 164 /regex/match-simple/150 731s ok 165 /regex/match-simple/151 731s ok 166 /regex/match-simple/152 731s ok 167 /regex/match-simple/153 731s ok 168 /regex/match-simple/154 731s ok 169 /regex/match-simple/155 731s ok 170 /regex/match-simple/156 731s ok 171 /regex/match-simple/157 731s ok 172 /regex/match-simple/158 731s ok 173 /regex/match-simple/159 731s ok 174 /regex/match-simple/160 731s ok 175 /regex/match-simple/161 731s ok 176 /regex/match-simple/162 731s ok 177 /regex/match-simple/163 731s ok 178 /regex/match-simple/164 731s # End of match-simple tests 731s # Start of match-simple-optimized tests 731s ok 179 /regex/match-simple-optimized/92 731s ok 180 /regex/match-simple-optimized/93 731s ok 181 /regex/match-simple-optimized/94 731s ok 182 /regex/match-simple-optimized/95 731s ok 183 /regex/match-simple-optimized/96 731s ok 184 /regex/match-simple-optimized/97 731s ok 185 /regex/match-simple-optimized/98 731s ok 186 /regex/match-simple-optimized/99 731s ok 187 /regex/match-simple-optimized/100 731s ok 188 /regex/match-simple-optimized/101 731s ok 189 /regex/match-simple-optimized/102 731s ok 190 /regex/match-simple-optimized/103 731s ok 191 /regex/match-simple-optimized/104 731s ok 192 /regex/match-simple-optimized/105 731s ok 193 /regex/match-simple-optimized/106 731s ok 194 /regex/match-simple-optimized/107 731s ok 195 /regex/match-simple-optimized/108 731s ok 196 /regex/match-simple-optimized/109 731s ok 197 /regex/match-simple-optimized/110 731s ok 198 /regex/match-simple-optimized/111 731s ok 199 /regex/match-simple-optimized/112 731s ok 200 /regex/match-simple-optimized/113 731s ok 201 /regex/match-simple-optimized/114 731s ok 202 /regex/match-simple-optimized/115 731s ok 203 /regex/match-simple-optimized/116 731s ok 204 /regex/match-simple-optimized/117 731s ok 205 /regex/match-simple-optimized/118 731s ok 206 /regex/match-simple-optimized/119 731s ok 207 /regex/match-simple-optimized/120 731s ok 208 /regex/match-simple-optimized/121 731s ok 209 /regex/match-simple-optimized/122 731s ok 210 /regex/match-simple-optimized/123 731s ok 211 /regex/match-simple-optimized/124 731s ok 212 /regex/match-simple-optimized/125 731s ok 213 /regex/match-simple-optimized/126 731s ok 214 /regex/match-simple-optimized/127 731s ok 215 /regex/match-simple-optimized/128 731s ok 216 /regex/match-simple-optimized/129 731s ok 217 /regex/match-simple-optimized/130 731s ok 218 /regex/match-simple-optimized/131 731s ok 219 /regex/match-simple-optimized/132 731s ok 220 /regex/match-simple-optimized/133 731s ok 221 /regex/match-simple-optimized/134 731s ok 222 /regex/match-simple-optimized/135 731s ok 223 /regex/match-simple-optimized/136 731s ok 224 /regex/match-simple-optimized/137 731s ok 225 /regex/match-simple-optimized/138 731s ok 226 /regex/match-simple-optimized/139 731s ok 227 /regex/match-simple-optimized/140 731s ok 228 /regex/match-simple-optimized/141 731s ok 229 /regex/match-simple-optimized/142 731s ok 230 /regex/match-simple-optimized/143 731s ok 231 /regex/match-simple-optimized/144 731s ok 232 /regex/match-simple-optimized/145 731s ok 233 /regex/match-simple-optimized/146 731s ok 234 /regex/match-simple-optimized/147 731s ok 235 /regex/match-simple-optimized/148 731s ok 236 /regex/match-simple-optimized/149 731s ok 237 /regex/match-simple-optimized/150 731s ok 238 /regex/match-simple-optimized/151 731s ok 239 /regex/match-simple-optimized/152 731s ok 240 /regex/match-simple-optimized/153 731s ok 241 /regex/match-simple-optimized/154 731s ok 242 /regex/match-simple-optimized/155 731s ok 243 /regex/match-simple-optimized/156 731s ok 244 /regex/match-simple-optimized/157 731s ok 245 /regex/match-simple-optimized/158 731s ok 246 /regex/match-simple-optimized/159 731s ok 247 /regex/match-simple-optimized/160 731s ok 248 /regex/match-simple-optimized/161 731s ok 249 /regex/match-simple-optimized/162 731s ok 250 /regex/match-simple-optimized/163 731s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 731s ok 251 /regex/match-simple-optimized/164 731s # End of match-simple-optimized tests 731s # Start of match tests 731s ok 252 /regex/match/165 731s ok 253 /regex/match/166 731s ok 254 /regex/match/167 731s ok 255 /regex/match/168 731s ok 256 /regex/match/169 731s ok 257 /regex/match/170 731s ok 258 /regex/match/171 731s ok 259 /regex/match/172 731s ok 260 /regex/match/173 731s ok 261 /regex/match/174 731s ok 262 /regex/match/175 731s ok 263 /regex/match/176 731s ok 264 /regex/match/177 731s ok 265 /regex/match/178 731s ok 266 /regex/match/179 731s ok 267 /regex/match/180 731s ok 268 /regex/match/181 731s ok 269 /regex/match/182 731s ok 270 /regex/match/183 731s ok 271 /regex/match/184 731s ok 272 /regex/match/185 731s ok 273 /regex/match/186 731s ok 274 /regex/match/187 731s ok 275 /regex/match/188 731s ok 276 /regex/match/189 731s ok 277 /regex/match/190 731s ok 278 /regex/match/191 731s ok 279 /regex/match/192 731s ok 280 /regex/match/193 731s ok 281 /regex/match/194 731s ok 282 /regex/match/195 731s ok 283 /regex/match/196 731s ok 284 /regex/match/197 731s ok 285 /regex/match/198 731s ok 286 /regex/match/199 731s ok 287 /regex/match/200 731s ok 288 /regex/match/201 731s ok 289 /regex/match/202 731s ok 290 /regex/match/203 731s ok 291 /regex/match/204 731s ok 292 /regex/match/205 731s ok 293 /regex/match/206 731s ok 294 /regex/match/207 731s ok 295 /regex/match/208 731s ok 296 /regex/match/209 731s ok 297 /regex/match/210 731s ok 298 /regex/match/211 731s ok 299 /regex/match/212 731s ok 300 /regex/match/213 731s ok 301 /regex/match/214 731s ok 302 /regex/match/215 731s ok 303 /regex/match/216 731s ok 304 /regex/match/217 731s ok 305 /regex/match/218 731s ok 306 /regex/match/219 731s ok 307 /regex/match/220 731s ok 308 /regex/match/221 731s ok 309 /regex/match/222 731s ok 310 /regex/match/223 731s ok 311 /regex/match/224 731s ok 312 /regex/match/225 731s ok 313 /regex/match/226 731s ok 314 /regex/match/227 731s ok 315 /regex/match/228 731s ok 316 /regex/match/229 731s ok 317 /regex/match/230 731s ok 318 /regex/match/231 731s ok 319 /regex/match/232 731s ok 320 /regex/match/233 731s ok 321 /regex/match/234 731s ok 322 /regex/match/235 731s ok 323 /regex/match/236 731s ok 324 /regex/match/237 731s ok 325 /regex/match/238 731s ok 326 /regex/match/239 731s ok 327 /regex/match/240 731s ok 328 /regex/match/241 731s ok 329 /regex/match/242 731s ok 330 /regex/match/243 731s ok 331 /regex/match/244 731s ok 332 /regex/match/245 731s ok 333 /regex/match/246 731s ok 334 /regex/match/partial281 731s ok 335 /regex/match/partial282 731s ok 336 /regex/match/partial283 731s ok 337 /regex/match/partial284 731s ok 338 /regex/match/partial285 731s ok 339 /regex/match/partial286 731s ok 340 /regex/match/partial287 731s ok 341 /regex/match/partial288 731s ok 342 /regex/match/partial289 731s ok 343 /regex/match/partial290 731s ok 344 /regex/match/partial291 731s ok 345 /regex/match/partial292 731s ok 346 /regex/match/partial293 731s ok 347 /regex/match/partial294 731s ok 348 /regex/match/partial295 731s ok 349 /regex/match/partial296 731s ok 350 /regex/match/partial297 731s ok 351 /regex/match/partial298 731s ok 352 /regex/match/partial299 731s ok 353 /regex/match/partial300 731s ok 354 /regex/match/partial301 731s ok 355 /regex/match/partial302 731s # Start of next0 tests 731s ok 356 /regex/match/next0/247 731s ok 357 /regex/match/next0/248 731s ok 358 /regex/match/next0/249 731s ok 359 /regex/match/next0/250 731s # End of next0 tests 731s # Start of next1 tests 731s ok 360 /regex/match/next1/251 731s ok 361 /regex/match/next1/252 731s ok 362 /regex/match/next1/253 731s ok 363 /regex/match/next1/254 731s ok 364 /regex/match/next1/255 731s # End of next1 tests 731s # Start of next2 tests 731s ok 365 /regex/match/next2/256 731s ok 366 /regex/match/next2/257 731s ok 367 /regex/match/next2/258 731s ok 368 /regex/match/next2/259 731s ok 369 /regex/match/next2/260 731s ok 370 /regex/match/next2/261 731s ok 371 /regex/match/next2/262 731s ok 372 /regex/match/next2/263 731s # End of next2 tests 731s # Start of next3 tests 731s ok 373 /regex/match/next3/264 731s ok 374 /regex/match/next3/265 731s ok 375 /regex/match/next3/266 731s ok 376 /regex/match/next3/267 731s ok 377 /regex/match/next3/268 731s ok 378 /regex/match/next3/269 731s # End of next3 tests 731s # Start of next4 tests 731s ok 379 /regex/match/next4/270 731s # End of next4 tests 731s # Start of count tests 731s ok 380 /regex/match/count/271 731s ok 381 /regex/match/count/272 731s ok 382 /regex/match/count/273 731s ok 383 /regex/match/count/274 731s ok 384 /regex/match/count/275 731s ok 385 /regex/match/count/276 731s ok 386 /regex/match/count/277 731s ok 387 /regex/match/count/278 731s ok 388 /regex/match/count/279 731s ok 389 /regex/match/count/280 731s # End of count tests 731s # Start of count-optimized tests 731s ok 390 /regex/match/count-optimized/271 731s ok 391 /regex/match/count-optimized/272 731s ok 392 /regex/match/count-optimized/273 731s ok 393 /regex/match/count-optimized/274 731s ok 394 /regex/match/count-optimized/275 731s ok 395 /regex/match/count-optimized/276 731s ok 396 /regex/match/count-optimized/277 731s ok 397 /regex/match/count-optimized/278 731s ok 398 /regex/match/count-optimized/279 731s ok 399 /regex/match/count-optimized/280 731s # End of count-optimized tests 731s # Start of partial-optimized tests 731s ok 400 /regex/match/partial-optimized/281 731s ok 401 /regex/match/partial-optimized/282 731s ok 402 /regex/match/partial-optimized/283 731s ok 403 /regex/match/partial-optimized/284 731s ok 404 /regex/match/partial-optimized/285 731s ok 405 /regex/match/partial-optimized/286 731s ok 406 /regex/match/partial-optimized/287 731s ok 407 /regex/match/partial-optimized/288 731s ok 408 /regex/match/partial-optimized/289 731s ok 409 /regex/match/partial-optimized/290 731s ok 410 /regex/match/partial-optimized/291 731s ok 411 /regex/match/partial-optimized/292 731s ok 412 /regex/match/partial-optimized/293 731s ok 413 /regex/match/partial-optimized/294 731s ok 414 /regex/match/partial-optimized/295 731s ok 415 /regex/match/partial-optimized/296 731s ok 416 /regex/match/partial-optimized/297 731s ok 417 /regex/match/partial-optimized/298 731s ok 418 /regex/match/partial-optimized/299 731s ok 419 /regex/match/partial-optimized/300 731s ok 420 /regex/match/partial-optimized/301 731s ok 421 /regex/match/partial-optimized/302 731s # End of partial-optimized tests 731s # Start of subpattern tests 731s ok 422 /regex/match/subpattern/303 731s ok 423 /regex/match/subpattern/304 731s ok 424 /regex/match/subpattern/305 731s ok 425 /regex/match/subpattern/306 731s ok 426 /regex/match/subpattern/307 731s ok 427 /regex/match/subpattern/308 731s ok 428 /regex/match/subpattern/309 731s ok 429 /regex/match/subpattern/310 731s ok 430 /regex/match/subpattern/311 731s ok 431 /regex/match/subpattern/312 731s ok 432 /regex/match/subpattern/313 731s ok 433 /regex/match/subpattern/314 731s ok 434 /regex/match/subpattern/315 731s # Start of named tests 731s # Start of dupnames tests 731s ok 435 /regex/match/subpattern/named/dupnames/325 731s ok 436 /regex/match/subpattern/named/dupnames/326 731s ok 437 /regex/match/subpattern/named/dupnames/327 731s ok 438 /regex/match/subpattern/named/dupnames/328 731s ok 439 /regex/match/subpattern/named/dupnames/329 731s # End of dupnames tests 731s # End of named tests 731s # End of subpattern tests 731s # Start of subpattern-optimized tests 731s ok 440 /regex/match/subpattern-optimized/303 731s ok 441 /regex/match/subpattern-optimized/304 731s ok 442 /regex/match/subpattern-optimized/305 731s ok 443 /regex/match/subpattern-optimized/306 731s ok 444 /regex/match/subpattern-optimized/307 731s ok 445 /regex/match/subpattern-optimized/308 731s ok 446 /regex/match/subpattern-optimized/309 731s ok 447 /regex/match/subpattern-optimized/310 731s ok 448 /regex/match/subpattern-optimized/311 731s ok 449 /regex/match/subpattern-optimized/312 731s ok 450 /regex/match/subpattern-optimized/313 731s ok 451 /regex/match/subpattern-optimized/314 731s ok 452 /regex/match/subpattern-optimized/315 731s # End of subpattern-optimized tests 731s # Start of named tests 731s # Start of subpattern tests 731s ok 453 /regex/match/named/subpattern/316 731s ok 454 /regex/match/named/subpattern/317 731s ok 455 /regex/match/named/subpattern/318 731s ok 456 /regex/match/named/subpattern/319 731s ok 457 /regex/match/named/subpattern/320 731s ok 458 /regex/match/named/subpattern/321 731s ok 459 /regex/match/named/subpattern/322 731s ok 460 /regex/match/named/subpattern/323 731s ok 461 /regex/match/named/subpattern/324 731s ok 462 /regex/match/named/subpattern/330 731s ok 463 /regex/match/named/subpattern/331 731s ok 464 /regex/match/named/subpattern/332 731s ok 465 /regex/match/named/subpattern/333 731s ok 466 /regex/match/named/subpattern/334 731s # End of subpattern tests 731s # End of named tests 731s # End of match tests 731s # Start of match-optimized tests 731s ok 467 /regex/match-optimized/165 731s ok 468 /regex/match-optimized/166 731s ok 469 /regex/match-optimized/167 731s ok 470 /regex/match-optimized/168 731s ok 471 /regex/match-optimized/169 731s ok 472 /regex/match-optimized/170 731s ok 473 /regex/match-optimized/171 731s ok 474 /regex/match-optimized/172 731s ok 475 /regex/match-optimized/173 731s ok 476 /regex/match-optimized/174 731s ok 477 /regex/match-optimized/175 731s ok 478 /regex/match-optimized/176 731s ok 479 /regex/match-optimized/177 731s ok 480 /regex/match-optimized/178 731s ok 481 /regex/match-optimized/179 731s ok 482 /regex/match-optimized/180 731s ok 483 /regex/match-optimized/181 731s ok 484 /regex/match-optimized/182 731s ok 485 /regex/match-optimized/183 731s ok 486 /regex/match-optimized/184 731s ok 487 /regex/match-optimized/185 731s ok 488 /regex/match-optimized/186 731s ok 489 /regex/match-optimized/187 731s ok 490 /regex/match-optimized/188 731s ok 491 /regex/match-optimized/189 731s ok 492 /regex/match-optimized/190 731s ok 493 /regex/match-optimized/191 731s ok 494 /regex/match-optimized/192 731s ok 495 /regex/match-optimized/193 731s ok 496 /regex/match-optimized/194 731s ok 497 /regex/match-optimized/195 731s ok 498 /regex/match-optimized/196 731s ok 499 /regex/match-optimized/197 731s ok 500 /regex/match-optimized/198 731s ok 501 /regex/match-optimized/199 731s ok 502 /regex/match-optimized/200 731s ok 503 /regex/match-optimized/201 731s ok 504 /regex/match-optimized/202 731s ok 505 /regex/match-optimized/203 731s ok 506 /regex/match-optimized/204 731s ok 507 /regex/match-optimized/205 731s ok 508 /regex/match-optimized/206 731s ok 509 /regex/match-optimized/207 731s ok 510 /regex/match-optimized/208 731s ok 511 /regex/match-optimized/209 731s ok 512 /regex/match-optimized/210 731s ok 513 /regex/match-optimized/211 731s ok 514 /regex/match-optimized/212 731s ok 515 /regex/match-optimized/213 731s ok 516 /regex/match-optimized/214 731s ok 517 /regex/match-optimized/215 731s ok 518 /regex/match-optimized/216 731s ok 519 /regex/match-optimized/217 731s ok 520 /regex/match-optimized/218 731s ok 521 /regex/match-optimized/219 731s ok 522 /regex/match-optimized/220 731s ok 523 /regex/match-optimized/221 731s ok 524 /regex/match-optimized/222 731s ok 525 /regex/match-optimized/223 731s ok 526 /regex/match-optimized/224 731s ok 527 /regex/match-optimized/225 731s ok 528 /regex/match-optimized/226 731s ok 529 /regex/match-optimized/227 731s ok 530 /regex/match-optimized/228 731s ok 531 /regex/match-optimized/229 731s ok 532 /regex/match-optimized/230 731s ok 533 /regex/match-optimized/231 731s ok 534 /regex/match-optimized/232 731s ok 535 /regex/match-optimized/233 731s ok 536 /regex/match-optimized/234 731s ok 537 /regex/match-optimized/235 731s ok 538 /regex/match-optimized/236 731s ok 539 /regex/match-optimized/237 731s ok 540 /regex/match-optimized/238 731s ok 541 /regex/match-optimized/239 731s ok 542 /regex/match-optimized/240 731s ok 543 /regex/match-optimized/241 731s ok 544 /regex/match-optimized/242 731s ok 545 /regex/match-optimized/243 731s ok 546 /regex/match-optimized/244 731s ok 547 /regex/match-optimized/245 731s ok 548 /regex/match-optimized/246 731s # End of match-optimized tests 731s # Start of fetch-all0 tests 731s ok 549 /regex/fetch-all0/335 731s ok 550 /regex/fetch-all0/336 731s # End of fetch-all0 tests 731s # Start of fetch-all1 tests 731s ok 551 /regex/fetch-all1/337 731s ok 552 /regex/fetch-all1/338 731s ok 553 /regex/fetch-all1/339 731s # End of fetch-all1 tests 731s # Start of fetch-all2 tests 731s ok 554 /regex/fetch-all2/340 731s ok 555 /regex/fetch-all2/341 731s ok 556 /regex/fetch-all2/342 731s # End of fetch-all2 tests 731s # Start of fetch-all3 tests 731s ok 557 /regex/fetch-all3/343 731s ok 558 /regex/fetch-all3/344 731s ok 559 /regex/fetch-all3/345 731s ok 560 /regex/fetch-all3/346 731s ok 561 /regex/fetch-all3/347 731s # End of fetch-all3 tests 731s # Start of split tests 731s # Start of simple0 tests 731s ok 562 /regex/split/simple0/348 731s ok 563 /regex/split/simple0/349 731s ok 564 /regex/split/simple0/364 731s ok 565 /regex/split/simple0/365 731s # End of simple0 tests 731s # Start of simple1 tests 731s ok 566 /regex/split/simple1/350 731s ok 567 /regex/split/simple1/351 731s # End of simple1 tests 731s # Start of simple2 tests 731s ok 568 /regex/split/simple2/352 731s ok 569 /regex/split/simple2/358 731s ok 570 /regex/split/simple2/360 731s # End of simple2 tests 731s # Start of simple3 tests 731s ok 571 /regex/split/simple3/353 731s ok 572 /regex/split/simple3/354 731s ok 573 /regex/split/simple3/355 731s ok 574 /regex/split/simple3/356 731s ok 575 /regex/split/simple3/357 731s ok 576 /regex/split/simple3/359 731s ok 577 /regex/split/simple3/361 731s ok 578 /regex/split/simple3/362 731s ok 579 /regex/split/simple3/363 731s # End of simple3 tests 731s # End of split tests 731s # Start of split0 tests 731s ok 580 /regex/split0/366 731s ok 581 /regex/split0/368 731s # End of split0 tests 731s # Start of full-split0 tests 731s ok 582 /regex/full-split0/367 731s ok 583 /regex/full-split0/369 731s ok 584 /regex/full-split0/370 731s ok 585 /regex/full-split0/371 731s ok 586 /regex/full-split0/372 731s # End of full-split0 tests 731s # Start of split1 tests 731s ok 587 /regex/split1/373 731s ok 588 /regex/split1/376 731s # End of split1 tests 731s # Start of full-split1 tests 731s ok 589 /regex/full-split1/374 731s ok 590 /regex/full-split1/375 731s ok 591 /regex/full-split1/377 731s ok 592 /regex/full-split1/378 731s ok 593 /regex/full-split1/404 731s # End of full-split1 tests 731s # Start of split2 tests 731s ok 594 /regex/split2/379 731s ok 595 /regex/split2/383 731s ok 596 /regex/split2/395 731s # End of split2 tests 731s # Start of full-split2 tests 731s ok 597 /regex/full-split2/380 731s ok 598 /regex/full-split2/381 731s ok 599 /regex/full-split2/382 731s ok 600 /regex/full-split2/384 731s ok 601 /regex/full-split2/396 731s ok 602 /regex/full-split2/399 731s ok 603 /regex/full-split2/405 731s # End of full-split2 tests 731s # Start of split3 tests 731s ok 604 /regex/split3/385 731s ok 605 /regex/split3/387 731s ok 606 /regex/split3/389 731s ok 607 /regex/split3/391 731s ok 608 /regex/split3/393 731s ok 609 /regex/split3/397 731s ok 610 /regex/split3/400 731s ok 611 /regex/split3/402 731s # End of split3 tests 731s # Start of full-split3 tests 731s ok 612 /regex/full-split3/386 731s ok 613 /regex/full-split3/388 731s ok 614 /regex/full-split3/390 731s ok 615 /regex/full-split3/392 731s ok 616 /regex/full-split3/394 731s ok 617 /regex/full-split3/398 731s ok 618 /regex/full-split3/401 731s ok 619 /regex/full-split3/403 731s ok 620 /regex/full-split3/406 731s ok 621 /regex/full-split3/407 731s # End of full-split3 tests 731s # Start of check-repacement tests 731s ok 622 /regex/check-repacement/408 731s ok 623 /regex/check-repacement/409 731s ok 624 /regex/check-repacement/410 731s ok 625 /regex/check-repacement/411 731s ok 626 /regex/check-repacement/412 731s ok 627 /regex/check-repacement/413 731s ok 628 /regex/check-repacement/414 731s ok 629 /regex/check-repacement/415 731s # End of check-repacement tests 731s # Start of expand tests 731s ok 630 /regex/expand/416 731s ok 631 /regex/expand/417 731s ok 632 /regex/expand/418 731s ok 633 /regex/expand/419 731s ok 634 /regex/expand/420 731s ok 635 /regex/expand/421 731s ok 636 /regex/expand/422 731s ok 637 /regex/expand/423 731s ok 638 /regex/expand/424 731s ok 639 /regex/expand/425 731s ok 640 /regex/expand/426 731s ok 641 /regex/expand/427 731s ok 642 /regex/expand/428 731s ok 643 /regex/expand/429 731s ok 644 /regex/expand/430 731s ok 645 /regex/expand/431 731s ok 646 /regex/expand/432 731s ok 647 /regex/expand/433 731s ok 648 /regex/expand/434 731s ok 649 /regex/expand/435 731s ok 650 /regex/expand/436 731s ok 651 /regex/expand/437 731s ok 652 /regex/expand/438 731s ok 653 /regex/expand/439 731s ok 654 /regex/expand/440 731s ok 655 /regex/expand/441 731s ok 656 /regex/expand/442 731s ok 657 /regex/expand/443 731s ok 658 /regex/expand/444 731s ok 659 /regex/expand/445 731s ok 660 /regex/expand/446 731s ok 661 /regex/expand/447 731s ok 662 /regex/expand/448 731s ok 663 /regex/expand/449 731s ok 664 /regex/expand/450 731s ok 665 /regex/expand/451 731s ok 666 /regex/expand/452 731s ok 667 /regex/expand/453 731s ok 668 /regex/expand/454 731s ok 669 /regex/expand/455 731s ok 670 /regex/expand/456 731s ok 671 /regex/expand/457 731s ok 672 /regex/expand/458 731s ok 673 /regex/expand/459 731s ok 674 /regex/expand/460 731s ok 675 /regex/expand/461 731s ok 676 /regex/expand/462 731s ok 677 /regex/expand/463 731s ok 678 /regex/expand/464 731s ok 679 /regex/expand/465 731s ok 680 /regex/expand/466 731s ok 681 /regex/expand/467 731s ok 682 /regex/expand/468 731s ok 683 /regex/expand/469 731s ok 684 /regex/expand/470 731s ok 685 /regex/expand/471 731s ok 686 /regex/expand/472 731s ok 687 /regex/expand/473 731s ok 688 /regex/expand/474 731s ok 689 /regex/expand/475 731s ok 690 /regex/expand/476 731s ok 691 /regex/expand/477 731s ok 692 /regex/expand/478 731s ok 693 /regex/expand/479 731s ok 694 /regex/expand/480 731s ok 695 /regex/expand/481 731s # End of expand tests 731s # Start of replace tests 731s ok 696 /regex/replace/482 731s ok 697 /regex/replace/483 731s ok 698 /regex/replace/484 731s ok 699 /regex/replace/485 731s ok 700 /regex/replace/486 731s ok 701 /regex/replace/487 731s ok 702 /regex/replace/488 731s ok 703 /regex/replace/489 731s ok 704 /regex/replace/490 731s ok 705 /regex/replace/491 731s ok 706 /regex/replace/492 731s ok 707 /regex/replace/493 731s ok 708 /regex/replace/494 731s ok 709 /regex/replace/495 731s ok 710 /regex/replace/496 731s ok 711 /regex/replace/497 731s ok 712 /regex/replace/498 731s ok 713 /regex/replace/499 731s ok 714 /regex/replace/500 731s ok 715 /regex/replace/501 731s ok 716 /regex/replace/502 731s ok 717 /regex/replace/503 731s ok 718 /regex/replace/504 731s ok 719 /regex/replace/505 731s ok 720 /regex/replace/506 731s ok 721 /regex/replace/507 731s ok 722 /regex/replace/508 731s ok 723 /regex/replace/509 731s # End of replace tests 731s # Start of replace-optimized tests 731s ok 724 /regex/replace-optimized/482 731s ok 725 /regex/replace-optimized/483 731s ok 726 /regex/replace-optimized/484 731s ok 727 /regex/replace-optimized/485 731s ok 728 /regex/replace-optimized/486 731s ok 729 /regex/replace-optimized/487 731s ok 730 /regex/replace-optimized/488 731s ok 731 /regex/replace-optimized/489 731s ok 732 /regex/replace-optimized/490 731s ok 733 /regex/replace-optimized/491 731s ok 734 /regex/replace-optimized/492 731s ok 735 /regex/replace-optimized/493 731s ok 736 /regex/replace-optimized/494 731s ok 737 /regex/replace-optimized/495 731s ok 738 /regex/replace-optimized/496 731s ok 739 /regex/replace-optimized/497 731s ok 740 /regex/replace-optimized/498 731s ok 741 /regex/replace-optimized/499 731s ok 742 /regex/replace-optimized/500 731s ok 743 /regex/replace-optimized/501 731s ok 744 /regex/replace-optimized/502 731s ok 745 /regex/replace-optimized/503 731s ok 746 /regex/replace-optimized/504 731s ok 747 /regex/replace-optimized/505 731s ok 748 /regex/replace-optimized/506 731s ok 749 /regex/replace-optimized/507 731s ok 750 /regex/replace-optimized/508 731s ok 751 /regex/replace-optimized/509 731s # End of replace-optimized tests 731s # Start of replace-literally tests 731s ok 752 /regex/replace-literally/510 731s ok 753 /regex/replace-literally/511 731s ok 754 /regex/replace-literally/512 731s ok 755 /regex/replace-literally/513 731s ok 756 /regex/replace-literally/514 731s ok 757 /regex/replace-literally/515 731s ok 758 /regex/replace-literally/516 731s ok 759 /regex/replace-literally/517 731s ok 760 /regex/replace-literally/518 731s ok 761 /regex/replace-literally/519 731s ok 762 /regex/replace-literally/520 731s ok 763 /regex/replace-literally/521 731s ok 764 /regex/replace-literally/522 731s ok 765 /regex/replace-literally/523 731s ok 766 /regex/replace-literally/524 731s ok 767 /regex/replace-literally/525 731s ok 768 /regex/replace-literally/526 731s ok 769 /regex/replace-literally/527 731s ok 770 /regex/replace-literally/528 731s ok 771 /regex/replace-literally/529 731s # End of replace-literally tests 731s # Start of string-number tests 731s ok 772 /regex/string-number/530 731s ok 773 /regex/string-number/531 731s ok 774 /regex/string-number/532 731s ok 775 /regex/string-number/533 731s ok 776 /regex/string-number/534 731s ok 777 /regex/string-number/535 731s ok 778 /regex/string-number/536 731s ok 779 /regex/string-number/537 731s ok 780 /regex/string-number/538 731s ok 781 /regex/string-number/539 731s ok 782 /regex/string-number/540 731s ok 783 /regex/string-number/541 731s ok 784 /regex/string-number/542 731s ok 785 /regex/string-number/543 731s ok 786 /regex/string-number/544 731s # End of string-number tests 731s # Start of escape_nul tests 731s ok 787 /regex/escape_nul/545 731s ok 788 /regex/escape_nul/546 731s ok 789 /regex/escape_nul/547 731s ok 790 /regex/escape_nul/548 731s ok 791 /regex/escape_nul/549 731s ok 792 /regex/escape_nul/550 731s ok 793 /regex/escape_nul/551 731s ok 794 /regex/escape_nul/552 731s ok 795 /regex/escape_nul/553 731s ok 796 /regex/escape_nul/554 731s ok 797 /regex/escape_nul/555 731s ok 798 /regex/escape_nul/556 731s ok 799 /regex/escape_nul/557 731s ok 800 /regex/escape_nul/558 731s ok 801 /regex/escape_nul/559 731s # End of escape_nul tests 731s # Start of escape tests 731s ok 802 /regex/escape/560 731s ok 803 /regex/escape/561 731s ok 804 /regex/escape/562 731s ok 805 /regex/escape/563 731s ok 806 /regex/escape/564 731s ok 807 /regex/escape/565 731s ok 808 /regex/escape/566 731s ok 809 /regex/escape/567 731s ok 810 /regex/escape/568 731s ok 811 /regex/escape/569 731s ok 812 /regex/escape/570 731s ok 813 /regex/escape/571 731s ok 814 /regex/escape/572 731s ok 815 /regex/escape/573 731s ok 816 /regex/escape/574 731s ok 817 /regex/escape/575 731s ok 818 /regex/escape/576 731s ok 819 /regex/escape/577 731s # End of escape tests 731s # Start of match-all0 tests 731s ok 820 /regex/match-all0/578 731s ok 821 /regex/match-all0/580 731s # End of match-all0 tests 731s # Start of match-all-full0 tests 731s ok 822 /regex/match-all-full0/579 731s ok 823 /regex/match-all-full0/581 731s ok 824 /regex/match-all-full0/582 731s ok 825 /regex/match-all-full0/583 731s # End of match-all-full0 tests 731s # Start of match-all1 tests 731s ok 826 /regex/match-all1/584 731s ok 827 /regex/match-all1/586 731s ok 828 /regex/match-all1/591 731s # End of match-all1 tests 731s # Start of match-all-full1 tests 731s ok 829 /regex/match-all-full1/585 731s ok 830 /regex/match-all-full1/587 731s ok 831 /regex/match-all-full1/588 731s ok 832 /regex/match-all-full1/589 731s ok 833 /regex/match-all-full1/590 731s ok 834 /regex/match-all-full1/592 731s # End of match-all-full1 tests 731s # Start of match-all2 tests 731s ok 835 /regex/match-all2/593 731s ok 836 /regex/match-all2/595 731s ok 837 /regex/match-all2/597 731s # End of match-all2 tests 731s # Start of match-all-full2 tests 731s ok 838 /regex/match-all-full2/594 731s ok 839 /regex/match-all-full2/596 731s ok 840 /regex/match-all-full2/598 731s # End of match-all-full2 tests 731s # Start of match-all3 tests 731s ok 841 /regex/match-all3/599 731s ok 842 /regex/match-all3/601 731s # End of match-all3 tests 731s # Start of match-all-full3 tests 731s ok 843 /regex/match-all-full3/600 731s ok 844 /regex/match-all-full3/602 731s # End of match-all-full3 tests 731s # Start of match-notempty tests 731s ok 845 /regex/match-notempty/603 731s # End of match-notempty tests 731s # Start of match-notempty-optimized tests 731s ok 846 /regex/match-notempty-optimized/603 731s # End of match-notempty-optimized tests 731s # Start of match-notempty-atstart tests 731s ok 847 /regex/match-notempty-atstart/604 731s # End of match-notempty-atstart tests 731s # Start of match-notempty-atstart-optimized tests 731s ok 848 /regex/match-notempty-atstart-optimized/604 731s # End of match-notempty-atstart-optimized tests 731s # End of regex tests 731s ok - glib/regex.test 731s # Running test: glib/srvtarget.test 731s TAP version 14 731s # random seed: R02S3e00c30ef65604bb61cae3242ffc237b 731s 1..1 731s # Start of srvtarget tests 732s ok 1 /srvtarget/srv-target-ordering 732s # slow test /srvtarget/srv-target-ordering executed in 0.59 secs 732s # End of srvtarget tests 732s ok - glib/srvtarget.test 732s # Running test: glib/gio-tool.py.test 732s TAP version 13 732s ok 1 __main__.TestGioTool.test_help 732s # tmpdir: /tmp/tmpsd4fzzj4 732s # gio: /usr/bin/gio 732s # Running: ['/usr/bin/gio', '--help'] 732s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 732s # Output: Usage: 732s # gio COMMAND [ARGS…] 732s # 732s # Commands: 732s # help Print help 732s # version Print version 732s # cat Concatenate files to standard output 732s # copy Copy one or more files 732s # info Show information about locations 732s # launch Launch an application from a desktop file 732s # list List the contents of locations 732s # mime Get or set the handler for a mimetype 732s # mkdir Create directories 732s # monitor Monitor files and directories for changes 732s # mount Mount or unmount the locations 732s # move Move one or more files 732s # open Open files with the default application 732s # rename Rename a file 732s # remove Delete one or more files 732s # save Read from standard input and save 732s # set Set a file attribute 732s # trash Move files or directories to the trash 732s # tree Lists the contents of locations in a tree 732s # 732s # Use “gio help COMMAND†to get detailed help. 732s # Running: ['/usr/bin/gio', 'help'] 732s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 732s # Output: Usage: 732s # gio COMMAND [ARGS…] 732s # 732s # Commands: 732s # help Print help 732s # version Print version 732s # cat Concatenate files to standard output 732s # copy Copy one or more files 732s # info Show information about locations 732s # launch Launch an application from a desktop file 732s # list List the contents of locations 732s # mime Get or set the handler for a mimetype 732s # mkdir Create directories 732s # monitor Monitor files and directories for changes 732s # mount Mount or unmount the locations 732s # move Move one or more files 732s # open Open files with the default application 732s # rename Rename a file 732s # remove Delete one or more files 732s # save Read from standard input and save 732s # set Set a file attribute 732s # trash Move files or directories to the trash 732s # tree Lists the contents of locations in a tree 732s # 732s # Use “gio help COMMAND†to get detailed help. 732s ok 2 __main__.TestGioTool.test_info_non_default_attributes 732s # tmpdir: /tmp/tmp89n6nre6 732s # gio: /usr/bin/gio 732s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp89n6nre6/tmp57qn4eys'] 732s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 732s # Output: uri: file:///tmp/tmp89n6nre6/tmp57qn4eys 732s # local path: /tmp/tmp89n6nre6/tmp57qn4eys 732s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-ztpvhi/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=373,subvol=/lxd/containers/autopkgtest-lxd-ztpvhi 732s # attributes: 732s # standard::content-type: application/x-zerosize 732s ok 3 __main__.TestGioTool.test_no_args 732s # tmpdir: /tmp/tmpkqvjhrbp 732s # gio: /usr/bin/gio 732s # Running: ['/usr/bin/gio'] 732s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 732s 1..3 732s ok - glib/gio-tool.py.test 732s # Running test: glib/giomodule.test 732s TAP version 14 732s # random seed: R02Sfdae6aa8c134c1f3517c4115e6d9b8cb 732s 1..3 732s # Start of giomodule tests 732s ok 1 /giomodule/extension-point 732s ok 2 /giomodule/module-scan-all 732s ok 3 /giomodule/module-scan-all-with-scope 732s # End of giomodule tests 732s ok - glib/giomodule.test 732s # Running test: glib/asyncqueue.test 732s TAP version 14 732s # random seed: R02Sa07f645c5142b397bc4ce25e7f3fc802 732s 1..7 732s # Start of asyncqueue tests 732s ok 1 /asyncqueue/basics 732s ok 2 /asyncqueue/sort 732s ok 3 /asyncqueue/destroy 732s ok 4 /asyncqueue/threads 732s ok 5 /asyncqueue/timed 732s ok 6 /asyncqueue/remove 732s ok 7 /asyncqueue/push_front 732s # End of asyncqueue tests 732s ok - glib/asyncqueue.test 732s # Running test: glib/mainloop.test 732s TAP version 14 732s # random seed: R02S891cb413fd294c4e468ac260685e5b6f 732s 1..45 732s # Start of maincontext tests 732s ok 1 /maincontext/basic 732s # Add same-priority sources: 28 732s # Find each source: 3 733s # Remove in random order: 36 733s ok 2 /maincontext/nsources_same_priority 733s # Add different-priority sources: 34 733s # Find each source: 3 733s # Remove in random order: 40 733s ok 3 /maincontext/nsources_different_priority 733s # Add sources from threads: 118 733s # Remove sources from threads: 128 733s ok 4 /maincontext/nsources_threadpool 733s ok 5 /maincontext/source_finalization 733s # /maincontext/idle-once summary: Test g_idle_add_once() works 733s ok 6 /maincontext/idle-once 733s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 733s ok 7 /maincontext/timeout-once 733s # Start of source_finalization_from_source tests 733s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 8 /maincontext/source_finalization_from_source/0 733s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 9 /maincontext/source_finalization_from_source/1 733s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 10 /maincontext/source_finalization_from_source/2 733s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 11 /maincontext/source_finalization_from_source/3 733s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 12 /maincontext/source_finalization_from_source/4 733s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 13 /maincontext/source_finalization_from_source/5 733s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 14 /maincontext/source_finalization_from_source/6 733s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 15 /maincontext/source_finalization_from_source/7 733s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 16 /maincontext/source_finalization_from_source/8 733s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 733s ok 17 /maincontext/source_finalization_from_source/9 733s # End of source_finalization_from_source tests 733s # Start of source_finalization_from_dispatch tests 733s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 733s ok 18 /maincontext/source_finalization_from_dispatch/0 733s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 733s ok 19 /maincontext/source_finalization_from_dispatch/1 733s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 733s ok 20 /maincontext/source_finalization_from_dispatch/2 733s # End of source_finalization_from_dispatch tests 733s # End of maincontext tests 733s # Start of mainloop tests 733s ok 21 /mainloop/basic 733s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 733s ok 23 /mainloop/priorities 733s # Executing: glib/mainloop.test 734s ok 24 /mainloop/invoke 734s # slow test /mainloop/invoke executed in 0.50 secs 734s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 734s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 734s ok 27 /mainloop/recursive_loop_child_sources 734s ok 28 /mainloop/swapping_child_sources 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 734s ok 29 /mainloop/blocked_child_sources 735s ok 30 /mainloop/source_time 735s # slow test /mainloop/source_time executed in 1.00 secs 735s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 735s ok 31 /mainloop/overflow 735s ok 32 /mainloop/ready-time 735s # slow test /mainloop/ready-time executed in 0.50 secs 735s ok 33 /mainloop/wakeup 735s ok 34 /mainloop/remove-invalid 735s ok 35 /mainloop/unref-while-pending 736s ok 36 /mainloop/unix-fd 736s # slow test /mainloop/unix-fd executed in 0.89 secs 736s ok 37 /mainloop/unix-fd-source 736s ok 38 /mainloop/source-unix-fd-api 736s ok 39 /mainloop/wait 736s ok 40 /mainloop/unix-file-poll 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 736s ok 41 /mainloop/unix-fd-priority 736s ok 42 /mainloop/nfds 736s ok 43 /mainloop/steal-fd 736s # Start of ownerless-polling tests 736s ok 44 /mainloop/ownerless-polling/attach-first 736s ok 45 /mainloop/ownerless-polling/pop-first 736s # End of ownerless-polling tests 736s # End of mainloop tests 736s ok - glib/mainloop.test 736s # Running test: glib/socket-service.test 736s TAP version 14 736s # random seed: R02Sf76b973871018a84a2e5c7869ba22e56 736s 1..4 736s # Start of socket-service tests 736s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 736s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd766dd0 and GSocketClientAsyncConnectData 0xd762660 736s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 736s ok 1 /socket-service/start-stop 736s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd768068 and GSocketClientAsyncConnectData 0xd767ee0 736s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 736s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 736s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd768438 for GSocketClientAsyncConnectData 0xd762660 736s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 736s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 736s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 736s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 736s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 736s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd767458 for GSocketClientAsyncConnectData 0xd767ee0 736s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 736s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 736s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 736s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 736s ok 2 /socket-service/read_write_async 736s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd767e78 and GSocketClientAsyncConnectData 0xd76a410 736s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 736s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 736s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd768ed0 for GSocketClientAsyncConnectData 0xd76a410 736s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 736s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 736s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 736s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 736s ok 3 /socket-service/read_writev_async 736s # Start of threaded tests 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 736s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xd76abd8 and GSocketClientAsyncConnectData 0xd766dc8 736s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 736s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 736s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xd76ab50 for GSocketClientAsyncConnectData 0xd766dc8 736s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 736s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 736s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 736s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 736s ok 4 /socket-service/threaded/712570 736s # End of threaded tests 736s # End of socket-service tests 736s ok - glib/socket-service.test 736s # Running test: glib/properties-refcount4.test 736s TAP version 14 736s # random seed: R02S69a521fa01f432284e575b9264508c68 736s 1..1 736s # Start of gobject tests 736s # Start of refcount tests 736s ok 1 /gobject/refcount/properties-4 736s # End of refcount tests 736s # End of gobject tests 736s ok - glib/properties-refcount4.test 736s # Running test: glib/ifaceproperties.test 736s TAP version 14 736s # random seed: R02Sb7595b861fceb057dc05b2e41d57bd03 736s 1..7 736s # Start of interface tests 736s # Start of properties tests 736s ok 1 /interface/properties/set 736s ok 2 /interface/properties/notify 736s ok 3 /interface/properties/find-overridden 736s ok 4 /interface/properties/list-overridden 736s ok 5 /interface/properties/find-interface 736s ok 6 /interface/properties/list-interface 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 736s ok 7 /interface/properties/not-overridden 736s # End of properties tests 736s # End of interface tests 736s ok - glib/ifaceproperties.test 736s # Running test: glib/unicode-encoding.test 736s TAP version 14 736s # random seed: R02Seab837bfef2fb1dd334963e4d42c02a8 736s 1..1 736s # Start of unicode tests 736s ok 1 /unicode/encoding 736s # End of unicode tests 736s ok - glib/unicode-encoding.test 736s # Running test: glib/basics-gobject.test 736s TAP version 14 736s # random seed: R02S8f2d6ff0997e53e475bda6d1dd9963b0 736s 1..1 736s # Start of gobject tests 736s # private data during initialization: 54321 == 54321 736s # MAIN: emit test-signal: 736s # ::test_signal default_handler called 736s # ::test_signal default_handler called 736s # ::test_signal default_handler called 736s # signal return: "" 736s # MAIN: call iface print-string on test and derived object: 736s # Iface-FOO: "iface-string-from-test-type" from 0xe896c50 736s # Iface-BAR: "iface-string-from-derived-type" from 0xe896b30 736s # chaining: 736s # Iface-FOO: "iface-string-from-derived-type" from 0xe896b30 736s # private data after initialization: 54321 == 54321 736s ok 1 /gobject/basics 736s # End of gobject tests 736s ok - glib/basics-gobject.test 736s # Running test: glib/strvbuilder.test 736s TAP version 14 736s # random seed: R02Sc8d3f2e438ef5d4f0a8aebf53993d636 736s 1..7 736s # Start of strvbuilder tests 736s ok 1 /strvbuilder/empty 736s ok 2 /strvbuilder/add 736s ok 3 /strvbuilder/addv 736s ok 4 /strvbuilder/add_many 736s ok 5 /strvbuilder/take 736s ok 6 /strvbuilder/ref 736s ok 7 /strvbuilder/unref_to_strv 736s # End of strvbuilder tests 736s ok - glib/strvbuilder.test 736s # Running test: glib/trash.test 736s TAP version 14 736s # random seed: R02S8456e1a057e42c8a7efd5c43cc36f5c6 736s 1..3 736s # Start of trash tests 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 736s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 736s # File: /tmp/test-trash15XLX2 (parent st_dev: 103) 736s # Home: /home/ubuntu (st_dev: 103) 736s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 736s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 736s ok 3 /trash/long-filename 736s # End of trash tests 736s ok - glib/trash.test 736s # Running test: glib/actions.test 736s TAP version 14 736s # random seed: R02S458ee48e562c98fd107ace249ff8ea14 736s 1..13 736s # Start of actions tests 736s ok 1 /actions/basic 736s ok 2 /actions/name 736s ok 3 /actions/simplegroup 736s ok 4 /actions/stateful 736s ok 5 /actions/default-activate 736s ok 6 /actions/entries 736s ok 7 /actions/parse-detailed 736s ok 8 /actions/property 736s ok 9 /actions/no-properties 736s # Start of dbus tests 736s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s ok 10 /actions/dbus/export 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 738s # Executing: glib/actions.test 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s ok 11 /actions/dbus/threaded 738s # slow test /actions/dbus/threaded executed in 2.15 secs 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 12 /actions/dbus/bug679509 739s # Start of export tests 739s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 13 /actions/dbus/export/error-handling 739s # End of export tests 739s # End of dbus tests 739s # End of actions tests 739s ok - glib/actions.test 739s # Running test: glib/messages-low-memory.py.test 739s TAP version 13 739s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 739s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 739s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 739s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 739s # Return code: -6 739s # Output: 739s # Error: GLib-Message: 16:29:35.096: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 739s # GLib-Message: 16:29:35.096: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 739s # ../../../glib/gprintf.c:350: failed to allocate memory 739s 1..1 739s ok - glib/messages-low-memory.py.test 739s # Running test: glib/notify-init.test 739s TAP version 14 739s # random seed: R02S33fe9f3ae51076b574b0c33ee52dee27 739s 1..1 739s # Start of properties tests 739s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 739s ok 1 /properties/notify-in-init 739s # End of properties tests 739s ok - glib/notify-init.test 739s # Running test: glib/socket.test 739s TAP version 14 739s # random seed: R02Sb03ca8dba19c8e6088e2ff9728c5e693 739s 1..28 739s # Start of socket tests 740s ok 1 /socket/ipv4_sync 740s # slow test /socket/ipv4_sync executed in 1.00 secs 741s ok 2 /socket/ipv4_async 741s # slow test /socket/ipv4_async executed in 1.00 secs 741s ok 3 /socket/ipv6_sync 741s ok 4 /socket/ipv6_async 741s ok 5 /socket/ipv6_v4mapped 742s ok 6 /socket/close_graceful 742s # slow test /socket/close_graceful executed in 1.00 secs 742s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 742s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 742s ok 8 /socket/fd_reuse 742s ok 9 /socket/address 742s ok 10 /socket/unix-from-fd 742s ok 11 /socket/unix-connection 742s ok 12 /socket/unix-connection-ancillary-data 742s ok 13 /socket/source-postmortem 742s ok 14 /socket/read_write 742s ok 15 /socket/read_writev 742s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 742s ok 16 /socket/receive_bytes 742s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 742s ok 17 /socket/receive_bytes_from 742s # Start of ipv4_sync tests 742s ok 18 /socket/ipv4_sync/datagram 742s # Start of datagram tests 743s ok 19 /socket/ipv4_sync/datagram/timeouts 743s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 743s # End of datagram tests 743s # End of ipv4_sync tests 743s # Start of ipv6_sync tests 743s ok 20 /socket/ipv6_sync/datagram 743s # Start of datagram tests 743s # Executing: glib/socket.test 744s ok 21 /socket/ipv6_sync/datagram/timeouts 744s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 744s # End of datagram tests 744s # End of ipv6_sync tests 744s # Start of reuse tests 744s ok 22 /socket/reuse/tcp 744s ok 23 /socket/reuse/udp 744s # End of reuse tests 744s # Start of get_available tests 744s ok 24 /socket/get_available/datagram 744s ok 25 /socket/get_available/stream 744s # End of get_available tests 744s # Start of credentials tests 744s # Supported on this OS: GCredentials:linux-ucred:pid=0 744s ok 26 /socket/credentials/tcp_client 744s # Supported on this OS: GCredentials:linux-ucred:pid=0 744s ok 27 /socket/credentials/tcp_server 744s # Supported on this OS: GCredentials:linux-ucred:pid=4623,uid=1000,gid=1000 744s ok 28 /socket/credentials/unix_socketpair 744s # End of credentials tests 744s # End of socket tests 744s ok - glib/socket.test 744s # Running test: glib/gdbus-bz627724.test 744s TAP version 14 744s # random seed: R02S0f3149cb040e31b71300f88da6ea98c0 744s 1..1 744s # Start of gdbus tests 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_NDU2W2/gdbus/bz627724/.dirs/runtime 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s ok 1 /gdbus/bz627724 744s # End of gdbus tests 744s ok - glib/gdbus-bz627724.test 744s # Running test: glib/socket-address.test 744s TAP version 14 744s # random seed: R02S1600b93fa240e58242e088f57473e72e 744s 1..2 744s # Start of socket tests 744s # Start of address tests 744s # Start of unix tests 744s ok 1 /socket/address/unix/construct 744s ok 2 /socket/address/unix/to-string 744s # End of unix tests 744s # End of address tests 744s # End of socket tests 744s ok - glib/socket-address.test 744s # Running test: glib/cache.test 744s TAP version 14 744s # random seed: R02Sc16355f70f3377d66f10edb63885373f 744s 1..1 744s # Start of cache tests 744s ok 1 /cache/basic 744s # End of cache tests 744s ok - glib/cache.test 744s # Running test: glib/portal-support-snap.test 744s TAP version 14 744s # random seed: R02S1dc6fdf8ab425932c4043a58738e2c3d 744s 1..7 744s # Start of portal-support tests 744s # Start of snap tests 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/no-snapctl: No such file or directory 744s ok 1 /portal-support/snap/no-snapctl 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/none: No such file or directory 744s ok 2 /portal-support/snap/none 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/all: No such file or directory 744s ok 3 /portal-support/snap/all 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/desktop-only: No such file or directory 744s ok 4 /portal-support/snap/desktop-only 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/network-only: No such file or directory 744s ok 5 /portal-support/snap/network-only 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/gsettings-only: No such file or directory 744s ok 6 /portal-support/snap/gsettings-only 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime 744s # Created snap.yaml in /tmp/test_portal-support-snap_VYG5W2/meta/snap.yaml 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s # Created snapctl in /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2/portal-support/snap/updates-dynamically: No such file or directory 744s ok 7 /portal-support/snap/updates-dynamically 744s # End of snap tests 744s # End of portal-support tests 744s Unable to clean up temporary directory /tmp/test_portal-support-snap_VYG5W2: No such file or directory 744s ok - glib/portal-support-snap.test 744s # Running test: glib/cxx-2b.test 744s TAP version 14 744s # random seed: R02S34818bb29237ff8b8e499e5dad89c808 744s 1..2 744s # Start of gtask tests 744s # 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. 744s ok 1 /gtask/name 744s # Start of name tests 744s # 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. 744s ok 2 /gtask/name/macro-wrapper 744s # End of name tests 744s # End of gtask tests 744s ok - glib/cxx-2b.test 744s # Running test: glib/properties-refcount3.test 744s TAP version 14 744s # random seed: R02Sda2b1015fe74fa2ecbd07a8fd687a8ff 744s 1..1 744s # Start of gobject tests 744s # Start of refcount tests 748s # Executing: glib/properties-refcount3.test 753s # Executing: glib/properties-refcount3.test 758s # Executing: glib/properties-refcount3.test 763s # Executing: glib/properties-refcount3.test 768s # Executing: glib/properties-refcount3.test 773s # Executing: glib/properties-refcount3.test 774s # 774s # stopping 774s # 774s # stopped 774s # 774s # 12366759 793949 774s # 774s ok 1 /gobject/refcount/properties-3 774s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 774s # End of refcount tests 774s # End of gobject tests 774s ok - glib/properties-refcount3.test 774s # Running test: glib/thread.test 774s TAP version 14 774s # random seed: R02S837667ae1d48974291d9cb14de64acf9 774s 1..7 774s # Start of thread tests 774s ok 1 /thread/thread1 774s ok 2 /thread/thread2 774s ok 3 /thread/thread3 774s ok 4 /thread/thread4 774s ok 5 /thread/thread5 774s ok 6 /thread/thread6 774s ok 7 /thread/thread7 774s # End of thread tests 774s ok - glib/thread.test 774s # Running test: glib/node.test 774s TAP version 14 774s # random seed: R02S1487160391f5c419e1b915bb6bab10a7 774s 1..6 774s # Start of node tests 774s ok 1 /node/allocation 774s ok 2 /node/construction 774s ok 3 /node/traversal 774s ok 4 /node/misc 774s ok 5 /node/unlink 774s ok 6 /node/copy 774s # End of node tests 774s ok - glib/node.test 774s # Running test: glib/file-thumbnail.test 774s TAP version 14 774s # random seed: R02S959e77fadc69335339fb4196a1bf33cd 774s 1..7 774s # Start of file-thumbnail tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/runtime 774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 774s ok 1 /file-thumbnail/fail 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 774s ok 2 /file-thumbnail/size-priority 774s # Start of valid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 774s ok 3 /file-thumbnail/valid/normal 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 774s ok 4 /file-thumbnail/valid/large 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 774s ok 5 /file-thumbnail/valid/x-large 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 774s ok 6 /file-thumbnail/valid/xx-large 774s # End of valid tests 774s # Start of unknown tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/runtime 774s # Created test thumbnail at /tmp/test_file-thumbnail_BLZGX2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 774s ok 7 /file-thumbnail/unknown/super-large 774s # End of unknown tests 774s # End of file-thumbnail tests 774s ok - glib/file-thumbnail.test 774s # Running test: glib/resolver-parsing.test 774s TAP version 14 774s # random seed: R02S0a6f18dda9bb3c9352d9c2883b1bd728 774s 1..21 774s # Start of gresolver tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/invalid-header/.dirs/runtime 774s ok 1 /gresolver/invalid-header 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/record-ownership/.dirs/runtime 774s ok 2 /gresolver/record-ownership 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/unknown-record-type/.dirs/runtime 774s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 774s ok 3 /gresolver/unknown-record-type 774s # Start of mx tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/valid/.dirs/runtime 774s ok 4 /gresolver/mx/valid 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/.dirs/runtime 774s ok 5 /gresolver/mx/invalid 774s # Start of invalid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short/.dirs/runtime 774s ok 6 /gresolver/mx/invalid/too-short 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/mx/invalid/too-short2/.dirs/runtime 774s ok 7 /gresolver/mx/invalid/too-short2 774s # End of invalid tests 774s # End of mx tests 774s # Start of ns tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/valid/.dirs/runtime 774s ok 8 /gresolver/ns/valid 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/ns/invalid/.dirs/runtime 774s ok 9 /gresolver/ns/invalid 774s # End of ns tests 774s # Start of soa tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/valid/.dirs/runtime 774s ok 10 /gresolver/soa/valid 774s # Start of invalid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/mname/.dirs/runtime 774s ok 11 /gresolver/soa/invalid/mname 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/rname/.dirs/runtime 774s ok 12 /gresolver/soa/invalid/rname 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/soa/invalid/too-short/.dirs/runtime 774s ok 13 /gresolver/soa/invalid/too-short 774s # End of invalid tests 774s # End of soa tests 774s # Start of srv tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/valid/.dirs/runtime 774s ok 14 /gresolver/srv/valid 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/.dirs/runtime 774s ok 15 /gresolver/srv/invalid 774s # Start of invalid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short/.dirs/runtime 774s ok 16 /gresolver/srv/invalid/too-short 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/srv/invalid/too-short2/.dirs/runtime 774s ok 17 /gresolver/srv/invalid/too-short2 774s # End of invalid tests 774s # End of srv tests 774s # Start of txt tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/.dirs/runtime 774s ok 18 /gresolver/txt/valid 774s # Start of valid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/valid/multiple-strings/.dirs/runtime 774s ok 19 /gresolver/txt/valid/multiple-strings 774s # End of valid tests 774s # Start of invalid tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/empty/.dirs/runtime 774s ok 20 /gresolver/txt/invalid/empty 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_YJJJX2/gresolver/txt/invalid/overflow/.dirs/runtime 774s ok 21 /gresolver/txt/invalid/overflow 774s # End of invalid tests 774s # End of txt tests 774s # End of gresolver tests 774s ok - glib/resolver-parsing.test 774s # Running test: glib/refcount-macro.test 774s TAP version 14 774s # random seed: R02Sb40bad6c32f0daa693165415ddcc1e0f 774s 1..4 774s # Start of refcount tests 774s ok 1 /refcount/grefcount 774s ok 2 /refcount/gatomicrefcount 774s # Start of grefcount tests 774s ok 3 /refcount/grefcount/saturation 774s # End of grefcount tests 774s # Start of gatomicrefcount tests 774s ok 4 /refcount/gatomicrefcount/saturation 774s # End of gatomicrefcount tests 774s # End of refcount tests 774s ok - glib/refcount-macro.test 774s # Running test: glib/types.test 774s TAP version 14 774s # random seed: R02Sc0e95100a8951adf2d47e3bb73b695a4 774s 1..1 774s # Start of types tests 774s ok 1 /types/basic_types 774s # End of types tests 774s ok - glib/types.test 774s # Running test: glib/once.test 774s TAP version 14 774s # random seed: R02S1fb08bdfea665dc4cbb831280e06f801 774s 1..5 774s # Start of once tests 774s # /once/single-threaded summary: Test g_once() usage from a single thread 774s ok 1 /once/single-threaded 774s # /once/multi-threaded summary: Test g_once() usage from multiple threads 774s ok 2 /once/multi-threaded 774s # End of once tests 774s # Start of once-init tests 774s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 774s ok 3 /once-init/single-threaded 774s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 774s ok 4 /once-init/multi-threaded 774s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 774s ok 5 /once-init/string 774s # End of once-init tests 774s ok - glib/once.test 774s # Running test: glib/cxx-98.test 774s TAP version 14 774s # random seed: R02Sea170eca90324fbfbc9c7e84fa497aa8 774s 1..2 774s # Start of gtask tests 774s # 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. 774s ok 1 /gtask/name 774s # Start of name tests 774s # 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. 774s ok 2 /gtask/name/macro-wrapper 774s # End of name tests 774s # End of gtask tests 774s ok - glib/cxx-98.test 774s # Running test: glib/contenttype.test 774s TAP version 14 774s # random seed: R02S4674d72c74ac1033215a84e2ad36b574 774s 1..13 774s # Start of contenttype tests 774s ok 1 /contenttype/guess 774s ok 2 /contenttype/guess_svg_from_data 774s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 774s ok 4 /contenttype/unknown 774s ok 5 /contenttype/subtype 774s ok 6 /contenttype/list 774s ok 7 /contenttype/executable 774s ok 8 /contenttype/description 774s ok 9 /contenttype/icon 774s ok 10 /contenttype/symbolic-icon 774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 774s ok 11 /contenttype/tree 774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 774s ok 12 /contenttype/tree_invalid_encoding 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 774s ok 13 /contenttype/test_type_is_a_special_case 774s # End of contenttype tests 774s ok - glib/contenttype.test 774s # Running test: glib/sandbox.test 774s TAP version 14 774s # random seed: R02Sbe4c57b277ed4adfd23e60c5272d3112 774s 1..4 774s # Start of sandbox tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JLEIX2/sandbox/none/.dirs/runtime 774s ok 1 /sandbox/none 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JLEIX2/sandbox/snap/.dirs/runtime 774s # Created snap.yaml in /tmp/test_sandbox_JLEIX2/snap/current/meta/snap.yaml 774s ok 2 /sandbox/snap 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JLEIX2/sandbox/classic-snap/.dirs/runtime 774s # Created snap.yaml in /tmp/test_sandbox_JLEIX2/snap/current/meta/snap.yaml 774s ok 3 /sandbox/classic-snap 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/runtime 774s # Creating .flatpak-info in /tmp/test_sandbox_JLEIX2/sandbox/flatpak/.dirs/runtime/.flatpak-info 774s ok 4 /sandbox/flatpak 774s # End of sandbox tests 774s ok - glib/sandbox.test 774s # Running test: glib/atomic-c-11.test 774s TAP version 14 774s # random seed: R02S276ed4ba7b1b7b1ef76ba3d76897d56d 774s 1..2 774s # Start of atomic tests 774s ok 1 /atomic/types 774s ok 2 /atomic/threaded 774s # End of atomic tests 774s ok - glib/atomic-c-11.test 774s # Running test: glib/gdbus-method-invocation.test 774s TAP version 14 774s # random seed: R02S2e7e0d9a3ba52019e8dc192f09e1731c 774s 1..1 774s # Start of gdbus tests 774s # Start of method-invocation tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_Z6VLX2/gdbus/method-invocation/return/.dirs/runtime 774s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 774s # Calling org.freedesktop.DBus.Properties.Get 774s # Calling org.freedesktop.DBus.Properties.Get 774s # Calling org.freedesktop.DBus.Properties.Get 774s # Calling org.freedesktop.DBus.Properties.Set 774s # Calling org.freedesktop.DBus.Properties.GetAll 774s # Calling org.example.Foo.WrongReturnType 774s # Calling org.example.Foo.GetFDs 774s # Calling org.example.Foo.GetFDs 774s # Calling org.example.Foo.ReturnError 774s # Calling org.example.Foo.CloseBeforeReturning 774s ok 1 /gdbus/method-invocation/return 774s # End of method-invocation tests 774s # End of gdbus tests 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s ok - glib/gdbus-method-invocation.test 774s # Running test: glib/unicode.test 774s TAP version 14 774s # random seed: R02Sf82c788d24b7c20169ebf165a0abf7b9 774s 1..39 774s # Start of unicode tests 774s ok 1 /unicode/alnum 774s ok 2 /unicode/alpha 774s ok 3 /unicode/break-type 774s ok 4 /unicode/canonical-decomposition 774s ok 5 /unicode/casefold 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s # Cannot set locale to lt_LT, skipping 774s ok 6 /unicode/casemap_and_casefold 774s ok 7 /unicode/cases 774s ok 8 /unicode/character-type 774s ok 9 /unicode/cntrl 774s ok 10 /unicode/combining-class 774s ok 11 /unicode/compose 774s ok 12 /unicode/decompose 774s ok 13 /unicode/decompose-tail 774s ok 14 /unicode/defined 774s ok 15 /unicode/digit 774s ok 16 /unicode/digit-value 774s ok 17 /unicode/fully-decompose-canonical 774s ok 18 /unicode/fully-decompose-len 774s ok 19 /unicode/normalization 774s ok 20 /unicode/graph 774s # Testing script Zyyy (code 1517910393) 774s # Testing script Zinh (code 1516858984) 774s # Testing script Zmth (code 1517122664) 774s # Testing script Arab (code 1098015074) 774s # Testing script Armn (code 1098018158) 774s # Testing script Beng (code 1113943655) 774s # Testing script Bopo (code 1114599535) 774s # Testing script Cher (code 1130915186) 774s # Testing script Copt (code 1131376756) 774s # Testing script Cyrl (code 1132032620) 774s # Testing script Dsrt (code 1148416628) 774s # Testing script Deva (code 1147500129) 774s # Testing script Ethi (code 1165256809) 774s # Testing script Geor (code 1197830002) 774s # Testing script Goth (code 1198486632) 774s # Testing script Grek (code 1198679403) 774s # Testing script Gujr (code 1198877298) 774s # Testing script Guru (code 1198879349) 774s # Testing script Hani (code 1214344809) 774s # Testing script Hang (code 1214344807) 774s # Testing script Hebr (code 1214603890) 774s # Testing script Hira (code 1214870113) 774s # Testing script Knda (code 1265525857) 774s # Testing script Kana (code 1264676449) 774s # Testing script Khmr (code 1265134962) 774s # Testing script Laoo (code 1281453935) 774s # Testing script Latn (code 1281455214) 774s # Testing script Mlym (code 1298954605) 774s # Testing script Mong (code 1299148391) 774s # Testing script Mymr (code 1299803506) 774s # Testing script Ogam (code 1332175213) 774s # Testing script Ital (code 1232363884) 774s # Testing script Orya (code 1332902241) 774s # Testing script Runr (code 1383427698) 774s # Testing script Sinh (code 1399418472) 774s # Testing script Syrc (code 1400468067) 774s # Testing script Taml (code 1415671148) 774s # Testing script Telu (code 1415933045) 774s # Testing script Thaa (code 1416126817) 774s # Testing script Thai (code 1416126825) 774s # Testing script Tibt (code 1416192628) 774s # Testing script Cans (code 1130458739) 774s # Testing script Yiii (code 1500080489) 774s # Testing script Tglg (code 1416064103) 774s # Testing script Hano (code 1214344815) 774s # Testing script Buhd (code 1114990692) 774s # Testing script Tagb (code 1415669602) 774s # Testing script Brai (code 1114792297) 774s # Testing script Cprt (code 1131442804) 774s # Testing script Limb (code 1281977698) 774s # Testing script Osma (code 1332964705) 774s # Testing script Shaw (code 1399349623) 774s # Testing script Linb (code 1281977954) 774s # Testing script Tale (code 1415670885) 774s # Testing script Ugar (code 1432838514) 774s # Testing script Talu (code 1415670901) 774s # Testing script Bugi (code 1114990441) 774s # Testing script Glag (code 1198285159) 774s # Testing script Tfng (code 1415999079) 774s # Testing script Sylo (code 1400466543) 774s # Testing script Xpeo (code 1483761007) 774s # Testing script Khar (code 1265131890) 774s # Testing script Zzzz (code 1517976186) 774s # Testing script Bali (code 1113681001) 774s # Testing script Xsux (code 1483961720) 774s # Testing script Phnx (code 1349021304) 774s # Testing script Phag (code 1349017959) 774s # Testing script Nkoo (code 1315663727) 774s # Testing script Kali (code 1264675945) 774s # Testing script Lepc (code 1281716323) 774s # Testing script Rjng (code 1382706791) 774s # Testing script Sund (code 1400204900) 774s # Testing script Saur (code 1398895986) 774s # Testing script Cham (code 1130914157) 774s # Testing script Olck (code 1332503403) 774s # Testing script Vaii (code 1449224553) 774s # Testing script Cari (code 1130459753) 774s # Testing script Lyci (code 1283023721) 774s # Testing script Lydi (code 1283023977) 774s # Testing script Avst (code 1098281844) 774s # Testing script Bamu (code 1113681269) 774s # Testing script Egyp (code 1164409200) 774s # Testing script Armi (code 1098018153) 774s # Testing script Phli (code 1349020777) 774s # Testing script Prti (code 1349678185) 774s # Testing script Java (code 1247901281) 774s # Testing script Kthi (code 1265920105) 774s # Testing script Lisu (code 1281979253) 774s # Testing script Mtei (code 1299473769) 774s # Testing script Sarb (code 1398895202) 774s # Testing script Orkh (code 1332898664) 774s # Testing script Samr (code 1398893938) 774s # Testing script Lana (code 1281453665) 774s # Testing script Tavt (code 1415673460) 774s # Testing script Batk (code 1113683051) 774s # Testing script Brah (code 1114792296) 774s # Testing script Mand (code 1298230884) 774s # Testing script Cakm (code 1130457965) 774s # Testing script Merc (code 1298494051) 774s # Testing script Mero (code 1298494063) 774s # Testing script Plrd (code 1349284452) 774s # Testing script Shrd (code 1399353956) 774s # Testing script Sora (code 1399812705) 774s # Testing script Takr (code 1415670642) 774s # Testing script Bass (code 1113682803) 774s # Testing script Aghb (code 1097295970) 774s # Testing script Dupl (code 1148547180) 774s # Testing script Elba (code 1164730977) 774s # Testing script Gran (code 1198678382) 774s # Testing script Khoj (code 1265135466) 774s # Testing script Sind (code 1399418468) 774s # Testing script Lina (code 1281977953) 774s # Testing script Mahj (code 1298229354) 774s # Testing script Mani (code 1298230889) 774s # Testing script Mend (code 1298493028) 774s # Testing script Modi (code 1299145833) 774s # Testing script Mroo (code 1299345263) 774s # Testing script Nbat (code 1315070324) 774s # Testing script Narb (code 1315009122) 774s # Testing script Perm (code 1348825709) 774s # Testing script Hmng (code 1215131239) 774s # Testing script Palm (code 1348562029) 774s # Testing script Pauc (code 1348564323) 774s # Testing script Phlp (code 1349020784) 774s # Testing script Sidd (code 1399415908) 774s # Testing script Tirh (code 1416196712) 774s # Testing script Wara (code 1466004065) 774s # Testing script Ahom (code 1097363309) 774s # Testing script Hluw (code 1215067511) 774s # Testing script Hatr (code 1214346354) 774s # Testing script Mult (code 1299541108) 774s # Testing script Hung (code 1215655527) 774s # Testing script Sgnw (code 1399287415) 774s # Testing script Adlm (code 1097100397) 774s # Testing script Bhks (code 1114139507) 774s # Testing script Marc (code 1298231907) 774s # Testing script Newa (code 1315272545) 774s # Testing script Osge (code 1332963173) 774s # Testing script Tang (code 1415671399) 774s # Testing script Gonm (code 1198485101) 774s # Testing script Nshu (code 1316186229) 774s # Testing script Soyo (code 1399814511) 774s # Testing script Zanb (code 1516334690) 774s # Testing script Dogr (code 1148151666) 774s # Testing script Gong (code 1198485095) 774s # Testing script Rohg (code 1383032935) 774s # Testing script Maka (code 1298230113) 774s # Testing script Medf (code 1298490470) 774s # Testing script Sogo (code 1399809903) 774s # Testing script Sogd (code 1399809892) 774s # Testing script Elym (code 1164736877) 774s # Testing script Nand (code 1315008100) 774s # Testing script Hmnp (code 1215131248) 774s # Testing script Wcho (code 1466132591) 774s # Testing script Chrs (code 1130918515) 774s # Testing script Diak (code 1147756907) 774s # Testing script Kits (code 1265202291) 774s # Testing script Yezi (code 1499822697) 774s # Testing script Cpmn (code 1131441518) 774s # Testing script Ougr (code 1333094258) 774s # Testing script Tnsa (code 1416524641) 774s # Testing script Toto (code 1416590447) 774s # Testing script Vith (code 1449751656) 774s # Testing script Kawi (code 1264678761) 774s # Testing script Nagm (code 1315006317) 774s ok 21 /unicode/iso15924 774s ok 22 /unicode/lower 774s ok 23 /unicode/mark 774s ok 24 /unicode/mirror 774s ok 25 /unicode/print 774s ok 26 /unicode/punctuation 774s ok 27 /unicode/script 774s ok 28 /unicode/space 774s ok 29 /unicode/strdown 774s ok 30 /unicode/strup 774s ok 31 /unicode/turkish-strupdown 774s ok 32 /unicode/title 774s ok 33 /unicode/upper 774s ok 34 /unicode/validate 774s ok 35 /unicode/wide 774s ok 36 /unicode/xdigit 774s ok 37 /unicode/xdigit-value 774s ok 38 /unicode/zero-width 774s ok 39 /unicode/normalize 774s # End of unicode tests 774s ok - glib/unicode.test 774s # Running test: glib/dbus-appinfo.test 774s TAP version 14 774s # random seed: R02S8db7ef7d4d2a754d15be824b942f8304 774s 1..3 774s # Start of appinfo tests 774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 774s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 774s ok 1 /appinfo/dbusappinfo 774s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 774s dbus-daemon[4975]: [session uid=1000 pid=4975] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=4974 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 774s # Acquired a message bus connection 774s dbus-daemon[4975]: [session uid=1000 pid=4975] Successfully activated service 'org.freedesktop.portal.Documents' 774s # Acquired the name org.freedesktop.portal.Documents 774s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 774s ok 2 /appinfo/flatpak-doc-export 774s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 774s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 774s ok 3 /appinfo/flatpak-missing-doc-export 774s # End of appinfo tests 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # Lost the name org.freedesktop.portal.Documents 774s ok - glib/dbus-appinfo.test 774s # Running test: glib/string.test 774s TAP version 14 774s # random seed: R02Se31b5097ed04a2e05a7575276c91c18d 774s 1..23 774s # Start of string tests 774s ok 1 /string/test-string-chunks 774s ok 2 /string/test-string-chunk-insert 774s ok 3 /string/test-string-new 774s ok 4 /string/test-string-printf 774s ok 5 /string/test-string-assign 774s ok 6 /string/test-string-append-c 774s ok 7 /string/test-string-append 774s ok 8 /string/test-string-append-vprintf 774s ok 9 /string/test-string-prepend-c 774s ok 10 /string/test-string-prepend 774s ok 11 /string/test-string-insert 774s ok 12 /string/test-string-insert-unichar 774s ok 13 /string/test-string-equal 774s ok 14 /string/test-string-truncate 774s ok 15 /string/test-string-overwrite 774s ok 16 /string/test-string-nul-handling 774s ok 17 /string/test-string-up-down 774s ok 18 /string/test-string-set-size 774s ok 19 /string/test-string-to-bytes 774s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 774s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 774s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 774s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 774s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 774s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 774s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 774s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 774s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 774s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 774s # 5: Replacing "o" with "" (limit 0) in "food for foals" 774s # -> 4 replacements, "fd fr fals" 774s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 774s # -> 3 replacements, "aaaaaaaaa" 774s # 7: Replacing "a" with "" (limit 0) in "aaa" 774s # -> 3 replacements, "" 774s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 774s # -> 1 replacements, "bba" 774s # 9: Replacing "" with "bar" (limit 0) in "foo" 774s # -> 4 replacements, "barfbarobarobar" 774s # 10: Replacing "" with "x" (limit 0) in "" 774s # -> 1 replacements, "x" 774s # 11: Replacing "" with "" (limit 0) in "" 774s # -> 1 replacements, "" 774s ok 20 /string/test-string-replace 774s ok 21 /string/test-string-steal 774s ok 22 /string/test-string-new-take 774s # Start of test-string-new-take tests 774s ok 23 /string/test-string-new-take/null 774s # End of test-string-new-take tests 774s # End of string tests 774s ok - glib/string.test 774s # Running test: glib/tree.test 774s TAP version 14 774s # random seed: R02S189e69542d8e8337bb5a6779232c13a2 774s 1..7 774s # Start of tree tests 774s ok 1 /tree/search 774s ok 2 /tree/remove 774s ok 3 /tree/destroy 774s ok 4 /tree/traverse 774s ok 5 /tree/insert 774s ok 6 /tree/bounds 774s ok 7 /tree/remove-all 774s # End of tree tests 774s ok - glib/tree.test 774s # Running test: glib/repository-search-paths.test 774s TAP version 14 774s # random seed: R02S85ba0d9aa61ed20b937aad4e2a522840 774s 1..4 774s # Start of repository tests 774s # Start of search-paths tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/default/.dirs/runtime 774s ok 1 /repository/search-paths/default 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ISPDX2/repository/search-paths/prepend/.dirs/runtime 774s ok 2 /repository/search-paths/prepend 774s # End of search-paths tests 774s # Start of library-paths tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/default/.dirs/runtime 774s ok 3 /repository/library-paths/default 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ISPDX2/repository/library-paths/prepend/.dirs/runtime 774s ok 4 /repository/library-paths/prepend 774s # End of library-paths tests 774s # End of repository tests 774s ok - glib/repository-search-paths.test 774s # Running test: glib/base64.test 774s TAP version 14 774s # random seed: R02Sd0824d32339bffd2ce2a807d7d2c17b4 774s 1..28 774s # Start of base64 tests 774s ok 1 /base64/encode 774s ok 2 /base64/decode 774s ok 3 /base64/decode-inplace 774s ok 4 /base64/encode-decode 774s # Start of full tests 774s ok 5 /base64/full/1 774s ok 6 /base64/full/2 774s ok 7 /base64/full/3 774s ok 8 /base64/full/4 774s # End of full tests 774s # Start of encode tests 774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 774s ok 9 /base64/encode/empty 774s # Start of incremental tests 774s # Start of small-block tests 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 774s ok 10 /base64/encode/incremental/small-block/1 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 774s ok 11 /base64/encode/incremental/small-block/2 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 774s ok 12 /base64/encode/incremental/small-block/3 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 774s ok 13 /base64/encode/incremental/small-block/4 774s # End of small-block tests 774s # End of incremental tests 774s # End of encode tests 774s # Start of incremental tests 774s # Start of nobreak tests 774s ok 14 /base64/incremental/nobreak/1 774s ok 15 /base64/incremental/nobreak/2 774s ok 16 /base64/incremental/nobreak/3 774s ok 17 /base64/incremental/nobreak/4-a 774s ok 18 /base64/incremental/nobreak/4-b 774s ok 19 /base64/incremental/nobreak/4-c 774s # End of nobreak tests 774s # Start of break tests 774s ok 20 /base64/incremental/break/1 774s ok 21 /base64/incremental/break/2 774s ok 22 /base64/incremental/break/3 774s # End of break tests 774s # Start of smallblock tests 774s ok 23 /base64/incremental/smallblock/1 774s ok 24 /base64/incremental/smallblock/2 774s ok 25 /base64/incremental/smallblock/3 774s ok 26 /base64/incremental/smallblock/4 774s # End of smallblock tests 774s # End of incremental tests 774s # Start of decode tests 774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 774s ok 27 /base64/decode/empty 774s # End of decode tests 774s # Start of encode-decode tests 774s # Vector 0: 774s # Vector 1: f 774s # Vector 2: fo 774s # Vector 3: foo 774s # Vector 4: foob 774s # Vector 5: fooba 774s # Vector 6: foobar 774s ok 28 /base64/encode-decode/rfc4648 774s # End of encode-decode tests 774s # End of base64 tests 774s ok - glib/base64.test 774s # Running test: glib/gdbus-message.test 774s TAP version 14 774s # random seed: R02S69eb0c639a29d147a78b9994de60a910 774s 1..3 774s # Start of gdbus tests 774s # Start of message tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MYCDX2/gdbus/message/lock/.dirs/runtime 774s ok 1 /gdbus/message/lock 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MYCDX2/gdbus/message/copy/.dirs/runtime 774s ok 2 /gdbus/message/copy 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MYCDX2/gdbus/message/bytes-needed/.dirs/runtime 774s # Vector: 0 774s # Vector: 1 774s # Vector: 2 774s # Vector: 3 774s # Vector: 4 774s # Vector: 5 774s ok 3 /gdbus/message/bytes-needed 774s # End of message tests 774s # End of gdbus tests 774s ok - glib/gdbus-message.test 774s # Running test: glib/power-profile-monitor-dbus.test 775s TAP version 13 775s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 775s 1..1 775s ok - glib/power-profile-monitor-dbus.test 775s # Running test: glib/gdbus-proxy-unique-name.test 775s TAP version 14 775s # random seed: R02S26ed00dd4a68702729a5c111e91490a2 775s 1..1 775s # Start of gdbus tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_6NV9W2/gdbus/proxy-unique-name/.dirs/runtime 775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s ok 1 /gdbus/proxy-unique-name 775s # End of gdbus tests 775s ok - glib/gdbus-proxy-unique-name.test 775s # Running test: glib/io-stream.test 775s TAP version 14 775s # random seed: R02S668e62a144e7065e10cc6904a9d79aa2 775s 1..3 775s # Start of io-stream tests 775s ok 1 /io-stream/copy-chunks 775s # Start of close tests 775s # Start of async tests 775s ok 2 /io-stream/close/async/memory 775s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 775s ok 3 /io-stream/close/async/file 775s # End of async tests 775s # End of close tests 775s # End of io-stream tests 775s ok - glib/io-stream.test 775s # Running test: glib/utils-c-17.test 775s TAP version 14 775s # random seed: R02Sa8a94bf39c0d3f66863ceb21f192fb94 775s 1..40 775s # Start of utils tests 775s ok 1 /utils/language-names 775s ok 2 /utils/locale-variants 775s ok 3 /utils/version 775s ok 4 /utils/appname 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 775s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 775s ok 5 /utils/prgname-thread-safety 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 775s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 775s ok 6 /utils/tmpdir 775s ok 7 /utils/basic_bits 775s ok 8 /utils/bits 775s ok 9 /utils/swap 775s ok 10 /utils/find-program 775s ok 11 /utils/find-program-for-path 775s ok 12 /utils/debug 775s ok 13 /utils/codeset 775s ok 14 /utils/codeset2 775s ok 15 /utils/console-charset 775s ok 16 /utils/gettext 775s ok 17 /utils/username 775s ok 18 /utils/realname 775s ok 19 /utils/hostname 775s ok 20 /utils/xdgdirs 775s ok 21 /utils/specialdir 775s # NAME: Ubuntu 775s ok 22 /utils/os-info 775s ok 23 /utils/clear-pointer 775s ok 24 /utils/clear-pointer-cast 775s ok 25 /utils/take-pointer 775s ok 26 /utils/clear-source 775s ok 27 /utils/misc-mem 775s # /utils/aligned-mem summary: Aligned memory allocator 775s # Alignment must not be zero 775s # Alignment must be a power of two 775s # Alignment must be a multiple of sizeof(void*) 775s ok 28 /utils/aligned-mem 775s # /utils/free-sized summary: Check that g_free_sized() works 775s ok 29 /utils/free-sized 775s ok 30 /utils/nullify 775s ok 31 /utils/atexit 775s ok 32 /utils/check-setuid 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 775s ok 33 /utils/int-limits 775s ok 34 /utils/clear-list 775s ok 35 /utils/clear-slist 775s # Start of specialdir tests 775s ok 36 /utils/specialdir/desktop 775s # End of specialdir tests 775s # Start of clear-pointer tests 775s ok 37 /utils/clear-pointer/side-effects 775s # End of clear-pointer tests 775s # Start of aligned-mem tests 775s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 775s ok 38 /utils/aligned-mem/alignment 775s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 775s ok 39 /utils/aligned-mem/zeroed 775s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 775s ok 40 /utils/aligned-mem/free-sized 775s # Start of subprocess tests 775s # End of subprocess tests 775s # End of aligned-mem tests 775s # End of utils tests 775s ok - glib/utils-c-17.test 775s # Running test: glib/sleepy-stream.test 775s TAP version 14 775s # random seed: R02Se254f10613f560f5f6387da463feff3e 775s 1..2 775s # Start of filter-stream tests 775s ok 1 /filter-stream/input 775s ok 2 /filter-stream/async 775s # End of filter-stream tests 775s ok - glib/sleepy-stream.test 775s # Running test: glib/testing.test 775s TAP version 14 775s # random seed: R02Sbec04fcbd3a78f3020c2fbd228108a22 775s 1..1 775s # Start of assert tests 775s ok 1 /assert/finalize_object 775s # Start of finalize_object tests 775s # Start of subprocess tests 775s # End of subprocess tests 775s # End of finalize_object tests 775s # End of assert tests 775s ok - glib/testing.test 775s # Running test: glib/gdbus-test-codegen-old.test 775s TAP version 14 775s # random seed: R02S2e2c198140cbeb967b0e432bda95810d 775s 1..8 775s # Start of gdbus tests 775s # Start of codegen tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/annotations/.dirs/runtime 775s ok 1 /gdbus/codegen/annotations 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/interface_stability/.dirs/runtime 775s ok 2 /gdbus/codegen/interface_stability 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/object-manager/.dirs/runtime 775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 775s ok 3 /gdbus/codegen/object-manager 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/property-naming/.dirs/runtime 775s ok 4 /gdbus/codegen/property-naming 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/autocleanups/.dirs/runtime 775s ok 5 /gdbus/codegen/autocleanups 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/deprecations/.dirs/runtime 775s ok 6 /gdbus/codegen/deprecations 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/standalone-interface-info/.dirs/runtime 775s ok 7 /gdbus/codegen/standalone-interface-info 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_MG0ZW2/gdbus/codegen/unix-fd-list/.dirs/runtime 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 775s ok 8 /gdbus/codegen/unix-fd-list 775s # End of codegen tests 775s # End of gdbus tests 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s ok - glib/gdbus-test-codegen-old.test 775s # Running test: glib/guuid.test 775s TAP version 14 775s # random seed: R02S69ea749bb63d74a8bb47c3e5f1d7f18d 775s 1..2 775s # Start of uuid tests 775s ok 1 /uuid/string 775s ok 2 /uuid/random 775s # End of uuid tests 775s ok - glib/guuid.test 775s # Running test: glib/module-test-library.test 775s TAP version 14 775s # random seed: R02S0606ede99abb12928c276f77c07ccf75 775s 1..3 775s # Start of module tests 775s ok 1 /module/basics 775s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 775s ok 2 /module/invalid-libtool-archive 775s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 775s ok 3 /module/local-binding 775s # End of module tests 775s ok - glib/module-test-library.test 775s # Running test: glib/memory-monitor-portal.test 775s TAP version 13 775s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 775s 1..1 775s ok - glib/memory-monitor-portal.test 775s # Running test: glib/gdbus-address-get-session.test 775s TAP version 14 775s # random seed: R02Sb8687e83bb92300bf879d733a5692d4e 775s 1..2 775s # Start of gdbus tests 775s ok 1 /gdbus/x11-autolaunch 775s ok 2 /gdbus/xdg-runtime 775s # End of gdbus tests 775s ok - glib/gdbus-address-get-session.test 775s # Running test: glib/timer.test 775s TAP version 14 775s # random seed: R02S4c8132eff5439d129b8f1f51311753a4 775s 1..10 775s # Start of timer tests 775s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 775s ok 2 /timer/stop 775s ok 3 /timer/continue 775s ok 4 /timer/reset 775s ok 5 /timer/is_active 775s # End of timer tests 775s # Start of timeval tests 775s ok 6 /timeval/add 775s ok 7 /timeval/from-iso8601 775s ok 8 /timeval/to-iso8601 775s # Start of to-iso8601 tests 775s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 775s # End of to-iso8601 tests 775s # End of timeval tests 775s # Start of usleep tests 775s ok 10 /usleep/with-zero-wait 775s # End of usleep tests 775s ok - glib/timer.test 775s # Running test: glib/gobject-query.py.test 775s TAP version 13 775s ok 1 __main__.TestGobjectQuery.test_froots 775s # gobject-query: /usr/bin/gobject-query 775s # Running: ['/usr/bin/gobject-query', 'froots'] 775s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 775s # Output: ├void 775s # ├GInterface 775s # │ â””GTypePlugin 775s # ├gchar 775s # ├guchar 775s # ├gboolean 775s # ├gint 775s # ├guint 775s # ├glong 775s # ├gulong 775s # ├gint64 775s # ├guint64 775s # ├GEnum 775s # ├GFlags 775s # ├gfloat 775s # ├gdouble 775s # ├gchararray 775s # ├gpointer 775s # │ â””GType 775s # ├GBoxed 775s # │ â””GValueArray 775s # ├GParam 775s # │ ├GParamChar 775s # │ ├GParamUChar 775s # │ ├GParamBoolean 775s # │ ├GParamInt 775s # │ ├GParamUInt 775s # │ ├GParamLong 775s # │ ├GParamULong 775s # │ ├GParamInt64 775s # │ ├GParamUInt64 775s # │ ├GParamUnichar 775s # │ ├GParamEnum 775s # │ ├GParamFlags 775s # │ ├GParamFloat 775s # │ ├GParamDouble 775s # │ ├GParamString 775s # │ ├GParamParam 775s # │ ├GParamBoxed 775s # │ ├GParamPointer 775s # │ ├GParamValueArray 775s # │ ├GParamObject 775s # │ ├GParamOverride 775s # │ ├GParamGType 775s # │ â””GParamVariant 775s # ├GObject 775s # â””GVariant 775s ok 2 __main__.TestGobjectQuery.test_help 775s # gobject-query: /usr/bin/gobject-query 775s # Running: ['/usr/bin/gobject-query', '--help'] 775s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 775s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 775s # -r specify root type 775s # -n don't descend type tree 775s # -h show help 775s # -b specify indent string 775s # -i specify incremental indent string 775s # -s specify line spacing 775s # qualifiers: 775s # froots iterate over fundamental roots 775s # tree print type tree 775s ok 3 __main__.TestGobjectQuery.test_tree 775s # gobject-query: /usr/bin/gobject-query 775s # Running: ['/usr/bin/gobject-query', 'tree'] 775s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 775s # Output: GObject 775s ok 4 __main__.TestGobjectQuery.test_version 775s # gobject-query: /usr/bin/gobject-query 775s # Running: ['/usr/bin/gobject-query', '--version'] 775s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 775s # Output: 2.82.1 775s 1..4 775s ok - glib/gobject-query.py.test 775s # Running test: glib/option-context.test 775s TAP version 14 775s # random seed: R02S9fed5795a585f5a8fcf08ab5cf7ec4f9 775s 1..57 775s # Start of option tests 775s ok 1 /option/basic 775s ok 2 /option/translate 775s ok 3 /option/strict-posix 775s # Start of help tests 775s ok 4 /option/help/options 775s ok 5 /option/help/no-options 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 775s ok 6 /option/help/no-help-options 775s # End of help tests 775s # Start of group tests 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 775s ok 7 /option/group/captions 775s ok 8 /option/group/main 775s ok 9 /option/group/error-hook 775s ok 10 /option/group/parse 775s # Start of captions tests 775s # Start of subprocess tests 775s # End of subprocess tests 775s # End of captions tests 775s # End of group tests 775s # Start of restoration tests 775s ok 11 /option/restoration/int 775s ok 12 /option/restoration/string 775s ok 13 /option/restoration/boolean 775s # End of restoration tests 775s # Start of arg tests 775s ok 14 /option/arg/reverse-string 775s ok 15 /option/arg/optional-int 775s # Start of repetition tests 775s ok 16 /option/arg/repetition/int 775s ok 17 /option/arg/repetition/string 775s ok 18 /option/arg/repetition/filename 775s ok 19 /option/arg/repetition/double 775s ok 20 /option/arg/repetition/locale 775s ok 21 /option/arg/repetition/int64 775s # End of repetition tests 775s # Start of array tests 775s ok 22 /option/arg/array/string 775s # End of array tests 775s # Start of callback tests 775s ok 23 /option/arg/callback/string 775s ok 24 /option/arg/callback/count 775s ok 25 /option/arg/callback/optional1 775s ok 26 /option/arg/callback/optional2 775s ok 27 /option/arg/callback/optional3 775s ok 28 /option/arg/callback/optional4 775s ok 29 /option/arg/callback/optional5 775s ok 30 /option/arg/callback/optional6 775s ok 31 /option/arg/callback/optional7 775s ok 32 /option/arg/callback/optional8 775s # End of callback tests 775s # Start of remaining tests 775s ok 33 /option/arg/remaining/callback 775s ok 34 /option/arg/remaining/callback-false 775s ok 35 /option/arg/remaining/non-option 775s ok 36 /option/arg/remaining/separator 775s ok 37 /option/arg/remaining/array 775s # End of remaining tests 775s # Start of ignore tests 775s ok 38 /option/arg/ignore/long 775s ok 39 /option/arg/ignore/short 775s ok 40 /option/arg/ignore/arg 775s # End of ignore tests 775s # Start of rest tests 775s ok 41 /option/arg/rest/non-option 775s ok 42 /option/arg/rest/separator1 775s ok 43 /option/arg/rest/separator2 775s ok 44 /option/arg/rest/separator3 775s ok 45 /option/arg/rest/separator4 775s ok 46 /option/arg/rest/separator5 775s # End of rest tests 775s # End of arg tests 775s # Start of context tests 775s ok 47 /option/context/add 775s ok 48 /option/context/empty2 775s ok 49 /option/context/empty3 775s # End of context tests 775s # Start of bug tests 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 775s ok 50 /option/bug/unknown-short 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 775s ok 51 /option/bug/lonely-dash 775s ok 52 /option/bug/triple-dash 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 775s ok 53 /option/bug/missing-arg 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 775s ok 54 /option/bug/dash-arg 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 775s ok 55 /option/bug/short-remaining 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 775s ok 56 /option/bug/double-free 775s ok 57 /option/bug/double-zero 775s # End of bug tests 775s # End of option tests 775s ok - glib/option-context.test 775s # Running test: glib/value.test 775s TAP version 14 775s # random seed: R02Sa9e0f67a908529ce0dd401e603a7d4f6 775s 1..9 775s # Start of value tests 775s ok 1 /value/basic 775s ok 2 /value/collection 775s ok 3 /value/copying 775s ok 4 /value/enum-transformation 775s ok 5 /value/gtype 775s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 775s ok 6 /value/string 775s # Next: GObject object in GValue of GObject to GValue of GObject 775s # Next: GObject object in GValue of GObject to GValue of TestInterface 775s # Next: GObject object in GValue of GObject to GValue of TestObjectA 775s # Next: GObject object in GValue of GObject to GValue of TestObjectB 775s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 775s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 775s # Next: TestObjectA object in GValue of GObject to GValue of GObject 775s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 775s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 775s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 775s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 775s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 775s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 775s # Next: TestObjectB object in GValue of GObject to GValue of GObject 775s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 775s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 775s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 775s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 775s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 775s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 775s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 776s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 776s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 776s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 776s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 776s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 776s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 776s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 776s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 776s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 776s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 776s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 776s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 776s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 776s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 776s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 776s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 776s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 776s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 776s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 776s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 776s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 776s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 776s ok 7 /value/transform-object 776s # Start of array tests 776s ok 8 /value/array/basic 776s ok 9 /value/array/sort-with-data 776s # End of array tests 776s # End of value tests 776s ok - glib/value.test 776s # Running test: glib/gdbus-connection-slow.test 776s TAP version 14 776s # random seed: R02S276b3141685d1489cf44a907cb4f1de5 776s 1..2 776s # Start of gdbus tests 776s # Start of connection tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/flush/.dirs/runtime 776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s ok 1 /gdbus/connection/flush 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FMHEX2/gdbus/connection/large_message/.dirs/runtime 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 777s ok 2 /gdbus/connection/large_message 777s # slow test /gdbus/connection/large_message executed in 0.85 secs 777s # End of connection tests 777s # End of gdbus tests 777s ok - glib/gdbus-connection-slow.test 777s # Running test: glib/stream-rw_all.test 777s TAP version 14 777s # random seed: R02Sf9b6505748640f15e12bbfc1932d1aad 777s 1..3 777s # Start of stream tests 777s # Start of read_all_async tests 777s ok 1 /stream/read_all_async/memory 777s # End of read_all_async tests 777s # Start of write_all_async tests 777s ok 2 /stream/write_all_async/memory 777s # End of write_all_async tests 777s # Start of read_write_all_async tests 777s ok 3 /stream/read_write_all_async/pipe 777s # End of read_write_all_async tests 777s # End of stream tests 777s ok - glib/stream-rw_all.test 777s # Running test: glib/basic-signals.test 777s TAP version 14 777s # random seed: R02Sae5c75b0bc7806b9bcb5845d5500519c 777s 1..1 777s # Start of gobject tests 777s ok 1 /gobject/basic-signals 777s # End of gobject tests 777s ok - glib/basic-signals.test 777s # Running test: glib/qdata.test 777s TAP version 14 777s # random seed: R02Sa1fdc4d5d472458da556f4c12c72c95a 777s 1..2 777s # Start of qdata tests 777s ok 1 /qdata/threaded 777s ok 2 /qdata/dup 777s # End of qdata tests 777s ok - glib/qdata.test 777s # Running test: glib/gdbus-connection-flush.test 777s TAP version 14 777s # random seed: R02S53d556620e0e2151d475a6c63b45e2b3 777s 1..2 777s # Start of gdbus tests 777s # Start of connection tests 777s # Start of flush tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/busy/.dirs/runtime 777s ok 1 /gdbus/connection/flush/busy 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_1J94W2/gdbus/connection/flush/idle/.dirs/runtime 777s ok 2 /gdbus/connection/flush/idle 777s # End of flush tests 777s # End of connection tests 777s # End of gdbus tests 777s ok - glib/gdbus-connection-flush.test 777s # Running test: glib/overflow.test 777s TAP version 14 777s # random seed: R02S72548fde9ae8c958c265f607fca134b9 777s 1..6 777s # Start of glib tests 777s # Start of checked-math tests 777s ok 1 /glib/checked-math/guint-add 777s ok 2 /glib/checked-math/guint-mul 777s ok 3 /glib/checked-math/guint64-add 777s ok 4 /glib/checked-math/guint64-mul 777s ok 5 /glib/checked-math/gsize-add 777s ok 6 /glib/checked-math/gsize-mul 777s # End of checked-math tests 777s # End of glib tests 777s ok - glib/overflow.test 777s # Running test: glib/portal-support-snap-classic.test 777s TAP version 14 777s # random seed: R02S15e141aea151a2659b7f0c56c0897d19 777s 1..3 777s # Start of portal-support tests 777s # Start of snap-classic tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl/.dirs/runtime 777s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/no-snapctl: No such file or directory 777s ok 1 /portal-support/snap-classic/no-snapctl 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/runtime 777s # Created snap.yaml in /tmp/test_portal-support-snap-classic_X0X4W2/meta/snap.yaml 777s # Created snapctl in /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none/.dirs/runtime/snapctl 777s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/none: No such file or directory 777s ok 2 /portal-support/snap-classic/none 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/runtime 777s # Created snap.yaml in /tmp/test_portal-support-snap-classic_X0X4W2/meta/snap.yaml 777s # Created snapctl in /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all/.dirs/runtime/snapctl 777s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X0X4W2/portal-support/snap-classic/all: No such file or directory 777s ok 3 /portal-support/snap-classic/all 777s # End of snap-classic tests 777s # End of portal-support tests 777s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X0X4W2: No such file or directory 777s ok - glib/portal-support-snap-classic.test 777s # Running test: glib/credentials.test 777s TAP version 14 777s # random seed: R02Sc91a2752ac4017f7b7296ebfd6aa0380 777s 1..1 777s # Start of credentials tests 777s # GCredentials:linux-ucred:pid=5395,uid=1000,gid=1000 777s # GCredentials:linux-ucred:pid=5395,uid=0,gid=1000 777s ok 1 /credentials/basic 777s # End of credentials tests 777s ok - glib/credentials.test 777s # Running test: glib/signals.test 777s TAP version 14 777s # random seed: R02Sa60f5fc6706c422ba6034e4b99dd270f 777s 1..31 777s # Start of gobject tests 777s # Start of signals tests 777s ok 1 /gobject/signals/all-types 777s ok 2 /gobject/signals/variant 777s ok 3 /gobject/signals/destroy-target-object 777s ok 4 /gobject/signals/generic-marshaller-1 777s ok 5 /gobject/signals/generic-marshaller-2 777s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 777s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 777s ok 8 /gobject/signals/generic-marshaller-int-return 777s ok 9 /gobject/signals/generic-marshaller-uint-return 777s ok 10 /gobject/signals/generic-marshaller-interface-return 777s ok 11 /gobject/signals/custom-marshaller 777s ok 12 /gobject/signals/connect 777s ok 13 /gobject/signals/emission-hook 777s ok 14 /gobject/signals/emitv 777s ok 15 /gobject/signals/accumulator 777s # Signal: accumulator-class-first 777s # Signal: accumulator-class-last 777s # Signal: accumulator-class-cleanup 777s # Signal: accumulator-class-first-last 777s # Signal: accumulator-class-first-last-cleanup 777s # Signal: accumulator-class-last-cleanup 777s ok 16 /gobject/signals/accumulator-class 777s ok 17 /gobject/signals/introspection 777s ok 18 /gobject/signals/block-handler 777s ok 19 /gobject/signals/stop-emission 777s ok 20 /gobject/signals/invocation-hint 777s ok 21 /gobject/signals/test-disconnection-wrong-object 777s ok 22 /gobject/signals/clear-signal-handler 777s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 777s ok 23 /gobject/signals/lookup 777s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 777s ok 24 /gobject/signals/parse-name 777s ok 25 /gobject/signals/is-valid-name 777s ok 26 /gobject/signals/weak-ref-disconnect 777s # Start of lookup tests 777s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 777s ok 27 /gobject/signals/lookup/invalid 777s # End of lookup tests 777s # Start of parse-name tests 777s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 777s # Parser input: 777s # Parser input: 7zip 777s # Parser input: invalid:signal 777s # Parser input: simple-detailed:: 777s # Parser input: simple-detailed: 777s # Parser input: : 777s # Parser input: :: 777s # Parser input: :valid-detail 777s # Parser input: ::valid-detail 777s ok 28 /gobject/signals/parse-name/invalid 777s # End of parse-name tests 777s # Start of invalid-name tests 777s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 777s ok 29 /gobject/signals/invalid-name/colon 777s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 777s ok 30 /gobject/signals/invalid-name/first-char 777s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 777s ok 31 /gobject/signals/invalid-name/empty 777s # End of invalid-name tests 777s # End of signals tests 777s # End of gobject tests 777s ok - glib/signals.test 777s # Running test: glib/gdbus-sasl.test 777s TAP version 14 777s # random seed: R02Sd6f11ac48e41f56094b019352878a033 777s 1..1 777s # Start of gdbus tests 777s # Start of sasl tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_Z0R4W2/gdbus/sasl/server/.dirs/runtime 777s # New handshake: EXTERNAL with incorrect initial response 777s # C:“AUTH EXTERNAL 30†777s # Expect: /^REJECTED.*$/ 777s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†777s # New handshake: EXTERNAL without initial response, failing to authenticate 777s # C:“AUTH EXTERNAL†777s # Expect: /^DATA$/ 777s # S:“DATA†777s # C:“DATA 30†777s # Expect: /^REJECTED.*$/ 777s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†777s # New handshake: EXTERNAL with initial response 777s # C:“AUTH EXTERNAL 31303030†777s # Expect: /^OK [0-9a-f]+$/ 777s # S:“OK 47c16bd4898f05fa4d8535656734d415†777s # New handshake: EXTERNAL without initial response 777s # C:“AUTH EXTERNAL†777s # Expect: /^DATA$/ 777s # S:“DATA†777s # C:“DATA 31303030†777s # Expect: /^OK [0-9a-f]+$/ 777s # S:“OK 47c16bd4898f05fa4d8535656734d415†777s # New handshake: EXTERNAL with empty authorization identity 777s # C:“AUTH EXTERNAL†777s # Expect: /^DATA$/ 777s # S:“DATA†777s # C:“DATA†777s # Expect: /^OK [0-9a-f]+$/ 777s # S:“OK 47c16bd4898f05fa4d8535656734d415†777s # New handshake: EXTERNAL with empty authorization identity and whitespace 777s # C:“AUTH EXTERNAL†777s # Expect: /^DATA$/ 777s # S:“DATA†777s # C:“DATA †777s # Expect: /^OK [0-9a-f]+$/ 777s # S:“OK 47c16bd4898f05fa4d8535656734d415†777s ok 1 /gdbus/sasl/server 777s # End of sasl tests 777s # End of gdbus tests 777s ok - glib/gdbus-sasl.test 777s # Running test: glib/registered-type-info.test 777s TAP version 14 777s # random seed: R02S5452a02ad95e4268948e6193fe4c75e3 777s 1..1 777s # Start of registered-type-info tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_IJ43W2/registered-type-info/boxed/.dirs/runtime 777s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 777s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 777s # Expecting CClosure to not be boxed 777s # Expecting TypeCValue to not be boxed 777s # Expecting InitiallyUnownedClass to not be boxed 777s # Expecting BookmarkFile to be boxed 777s # Expecting Closure to be boxed 777s # Expecting Object to not be boxed 777s ok 1 /registered-type-info/boxed 777s # End of registered-type-info tests 777s ok - glib/registered-type-info.test 777s # Running test: glib/utils-c-11.test 777s TAP version 14 777s # random seed: R02S797497508571ff00e3c1cbae14cae687 777s 1..40 777s # Start of utils tests 777s ok 1 /utils/language-names 777s ok 2 /utils/locale-variants 777s ok 3 /utils/version 777s ok 4 /utils/appname 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 777s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 777s ok 5 /utils/prgname-thread-safety 777s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 777s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 777s ok 6 /utils/tmpdir 777s ok 7 /utils/basic_bits 777s ok 8 /utils/bits 777s ok 9 /utils/swap 777s ok 10 /utils/find-program 777s ok 11 /utils/find-program-for-path 777s ok 12 /utils/debug 777s ok 13 /utils/codeset 777s ok 14 /utils/codeset2 777s ok 15 /utils/console-charset 777s ok 16 /utils/gettext 777s ok 17 /utils/username 777s ok 18 /utils/realname 777s ok 19 /utils/hostname 777s ok 20 /utils/xdgdirs 777s ok 21 /utils/specialdir 777s # NAME: Ubuntu 777s ok 22 /utils/os-info 777s ok 23 /utils/clear-pointer 777s ok 24 /utils/clear-pointer-cast 777s ok 25 /utils/take-pointer 777s ok 26 /utils/clear-source 777s ok 27 /utils/misc-mem 777s # /utils/aligned-mem summary: Aligned memory allocator 777s # Alignment must not be zero 777s # Alignment must be a power of two 777s # Alignment must be a multiple of sizeof(void*) 777s ok 28 /utils/aligned-mem 777s # /utils/free-sized summary: Check that g_free_sized() works 777s ok 29 /utils/free-sized 777s ok 30 /utils/nullify 777s ok 31 /utils/atexit 777s ok 32 /utils/check-setuid 777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 777s ok 33 /utils/int-limits 777s ok 34 /utils/clear-list 777s ok 35 /utils/clear-slist 777s # Start of specialdir tests 777s ok 36 /utils/specialdir/desktop 777s # End of specialdir tests 777s # Start of clear-pointer tests 777s ok 37 /utils/clear-pointer/side-effects 777s # End of clear-pointer tests 777s # Start of aligned-mem tests 777s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 777s ok 38 /utils/aligned-mem/alignment 777s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 777s ok 39 /utils/aligned-mem/zeroed 777s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 777s ok 40 /utils/aligned-mem/free-sized 777s # Start of subprocess tests 777s # End of subprocess tests 777s # End of aligned-mem tests 777s # End of utils tests 777s ok - glib/utils-c-11.test 777s # Running test: glib/utf8-misc.test 777s TAP version 14 777s # random seed: R02Sd14027f140c61b831563b9358489ef77 777s 1..7 777s # Start of utf8 tests 777s ok 1 /utf8/strlen 777s ok 2 /utf8/strncpy 777s ok 3 /utf8/strrchr 777s ok 4 /utf8/reverse 777s ok 5 /utf8/substring 777s ok 6 /utf8/make-valid 777s ok 7 /utf8/truncate-middle 777s # End of utf8 tests 777s ok - glib/utf8-misc.test 777s # Running test: glib/gdbus-close-pending.test 777s TAP version 14 777s # random seed: R02S54556bd25aaec93531be5c4103c72465 777s 1..2 777s # Start of gdbus tests 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CULHX2/gdbus/close-pending/.dirs/runtime 777s ok 1 /gdbus/close-pending 777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/home 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/cache 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/system-config2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/config 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/system-data2 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/data 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/state 777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CULHX2/gdbus/unref-pending/.dirs/runtime 778s ok 2 /gdbus/unref-pending 778s # End of gdbus tests 778s ok - glib/gdbus-close-pending.test 778s # Running test: glib/performance-threaded.test 778s Running test "liststore-is-a" 778s # Executing: glib/performance-threaded.test 779s 7005 runs, min/avg/max = 0.139/0.142/0.369 ms 779s Running test "liststore-interface-peek" 780s 8841 runs, min/avg/max = 0.110/0.112/0.327 ms 780s Running test "liststore-interface-peek-same" 781s 8855 runs, min/avg/max = 0.110/0.112/0.316 ms 781s ok - glib/performance-threaded.test 781s # Running test: glib/gdbus-auth.test 781s TAP version 14 781s # random seed: R02Sf2ce69c076faac6cf607490d19d6ae33 781s 1..5 781s # Start of gdbus tests 781s # Start of auth tests 781s # Start of client tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/EXTERNAL/.dirs/runtime 781s ok 1 /gdbus/auth/client/EXTERNAL 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 781s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 781s # End of client tests 781s # Start of server tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 781s ok 3 /gdbus/auth/server/ANONYMOUS 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/EXTERNAL/.dirs/runtime 781s ok 4 /gdbus/auth/server/EXTERNAL 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_A3X6W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 781s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 781s # End of server tests 781s # End of auth tests 781s # End of gdbus tests 781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 781s ok - glib/gdbus-auth.test 781s # Running test: glib/memory-monitor-dbus.test 781s TAP version 13 781s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 781s 1..1 781s ok - glib/memory-monitor-dbus.test 781s # Running test: glib/portal-support-flatpak-gsettings-only.test 781s TAP version 14 781s # random seed: R02Sbbe765ae732192c19af15f4112b53597 781s 1..1 781s # Start of portal-support tests 781s # Start of flatpak tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/runtime 781s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_PLK1W2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 781s ok 1 /portal-support/flatpak/gsettings 781s # End of flatpak tests 781s # End of portal-support tests 781s ok - glib/portal-support-flatpak-gsettings-only.test 781s # Running test: glib/pathbuf.test 781s TAP version 14 781s # random seed: R02S10000d8885c01f873146852d20074488 781s 1..3 781s # Start of pathbuf tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6LH1W2/pathbuf/init/.dirs/runtime 781s # Initializing empty path buf 781s # Initializing with empty path 781s # Initializing with full path 781s # Initializing with no path 781s # Allocating GPathBuf on the heap 781s ok 1 /pathbuf/init 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6LH1W2/pathbuf/push-pop/.dirs/runtime 781s # Pushing relative path component 781s # Pushing absolute path component 781s # Popping a path component 781s # Can't pop the last element of a path buffer 781s ok 2 /pathbuf/push-pop 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6LH1W2/pathbuf/filename-extension/.dirs/runtime 781s ok 3 /pathbuf/filename-extension 781s # End of pathbuf tests 781s ok - glib/pathbuf.test 781s # Running test: glib/data-input-stream.test 781s TAP version 14 781s # random seed: R02Se4fa46a1a8c48af9fa7c38056dabd0bc 781s 1..10 781s # Start of data-input-stream tests 781s ok 1 /data-input-stream/basic 781s ok 2 /data-input-stream/read-lines-LF 781s ok 3 /data-input-stream/read-lines-LF-valid-utf8 781s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 781s ok 5 /data-input-stream/read-lines-CR 781s ok 6 /data-input-stream/read-lines-CR-LF 781s ok 7 /data-input-stream/read-lines-any 781s ok 8 /data-input-stream/read-until 781s ok 9 /data-input-stream/read-upto 781s ok 10 /data-input-stream/read-int 781s # End of data-input-stream tests 781s ok - glib/data-input-stream.test 781s # Running test: glib/module-test-plugin.test 781s TAP version 14 781s # random seed: R02Sc0338c8515ede4facc63e37e563f31f8 781s 1..3 781s # Start of module tests 781s ok 1 /module/basics 781s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 781s ok 2 /module/invalid-libtool-archive 781s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 781s ok 3 /module/local-binding 781s # End of module tests 781s ok - glib/module-test-plugin.test 781s # Running test: glib/appmonitor.test 781s TAP version 14 781s # random seed: R02S88067648d4b04e739950e36e5af3f518 781s 1..1 781s # Start of monitor tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/runtime 781s # Using data directory: /tmp/test_appmonitor_K8AJX2/monitor/app/.dirs/data 781s ok 1 /monitor/app 781s # End of monitor tests 781s ok - glib/appmonitor.test 781s # Running test: glib/notify-init2.test 781s TAP version 14 781s # random seed: R02S405f75898294ca12760d25973d255fe7 781s 1..1 781s # Start of properties tests 781s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 781s ok 1 /properties/notify-in-init2 781s # End of properties tests 781s ok - glib/notify-init2.test 781s # Running test: glib/sequence.test 781s TAP version 14 781s # random seed: R02S67c4e7f6f317f2cbb54ea2b916ccf5c2 781s 1..16 781s # Start of sequence tests 781s ok 1 /sequence/out-of-range-jump 781s ok 2 /sequence/iter-move 781s ok 3 /sequence/insert-sorted-non-pointer 781s ok 4 /sequence/stable-sort 781s ok 5 /sequence/is_empty 781s # Start of random tests 782s ok 6 /sequence/random/seed:825541564 782s # slow test /sequence/random/seed:825541564 executed in 0.64 secs 783s ok 7 /sequence/random/seed:801678400 783s # slow test /sequence/random/seed:801678400 executed in 0.60 secs 783s ok 8 /sequence/random/seed:1477639090 783s # slow test /sequence/random/seed:1477639090 executed in 0.63 secs 783s # Executing: glib/sequence.test 784s ok 9 /sequence/random/seed:3369132895 784s # slow test /sequence/random/seed:3369132895 executed in 0.58 secs 784s ok 10 /sequence/random/seed:1192944867 784s # slow test /sequence/random/seed:1192944867 executed in 0.61 secs 785s ok 11 /sequence/random/seed:770458294 785s # slow test /sequence/random/seed:770458294 executed in 0.63 secs 786s ok 12 /sequence/random/seed:1099575817 786s # slow test /sequence/random/seed:1099575817 executed in 0.61 secs 786s ok 13 /sequence/random/seed:590523467 786s # slow test /sequence/random/seed:590523467 executed in 0.63 secs 787s ok 14 /sequence/random/seed:3583571454 787s # slow test /sequence/random/seed:3583571454 executed in 0.63 secs 787s ok 15 /sequence/random/seed:579241222 787s # slow test /sequence/random/seed:579241222 executed in 0.63 secs 788s ok 16 /sequence/random/seed:1288085798 788s # slow test /sequence/random/seed:1288085798 executed in 0.60 secs 788s # End of random tests 788s # End of sequence tests 788s ok - glib/sequence.test 788s # Running test: glib/utils-c-99.test 788s TAP version 14 788s # random seed: R02Sd043373d1adccf6df565eab96d70349a 788s 1..40 788s # Start of utils tests 788s ok 1 /utils/language-names 788s ok 2 /utils/locale-variants 788s ok 3 /utils/version 788s ok 4 /utils/appname 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 788s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 788s ok 5 /utils/prgname-thread-safety 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 788s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 788s ok 6 /utils/tmpdir 788s ok 7 /utils/basic_bits 788s ok 8 /utils/bits 788s ok 9 /utils/swap 788s ok 10 /utils/find-program 788s ok 11 /utils/find-program-for-path 788s ok 12 /utils/debug 788s ok 13 /utils/codeset 788s ok 14 /utils/codeset2 788s ok 15 /utils/console-charset 788s ok 16 /utils/gettext 788s ok 17 /utils/username 788s ok 18 /utils/realname 788s ok 19 /utils/hostname 788s ok 20 /utils/xdgdirs 788s ok 21 /utils/specialdir 788s # NAME: Ubuntu 788s ok 22 /utils/os-info 788s ok 23 /utils/clear-pointer 788s ok 24 /utils/clear-pointer-cast 788s ok 25 /utils/take-pointer 788s ok 26 /utils/clear-source 788s ok 27 /utils/misc-mem 788s # /utils/aligned-mem summary: Aligned memory allocator 788s # Alignment must not be zero 788s # Alignment must be a power of two 788s # Alignment must be a multiple of sizeof(void*) 788s ok 28 /utils/aligned-mem 788s # /utils/free-sized summary: Check that g_free_sized() works 788s ok 29 /utils/free-sized 788s ok 30 /utils/nullify 788s ok 31 /utils/atexit 788s ok 32 /utils/check-setuid 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 788s ok 33 /utils/int-limits 788s ok 34 /utils/clear-list 788s ok 35 /utils/clear-slist 788s # Start of specialdir tests 788s ok 36 /utils/specialdir/desktop 788s # End of specialdir tests 788s # Start of clear-pointer tests 788s ok 37 /utils/clear-pointer/side-effects 788s # End of clear-pointer tests 788s # Start of aligned-mem tests 788s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 788s ok 38 /utils/aligned-mem/alignment 788s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 788s ok 39 /utils/aligned-mem/zeroed 788s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 788s ok 40 /utils/aligned-mem/free-sized 788s # Start of subprocess tests 788s # End of subprocess tests 788s # End of aligned-mem tests 788s # End of utils tests 788s ok - glib/utils-c-99.test 788s # Running test: glib/proxy-test.test 788s TAP version 14 788s # random seed: R02S09fe3deaaadadd9305af68b22a5f464c 788s 1..11 788s # Start of proxy tests 788s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 788s ok 1 /proxy/direct_sync 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e1820 and GSocketClientAsyncConnectData 0x14df0e8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e20c0 for GSocketClientAsyncConnectData 0x14df0e8 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s ok 2 /proxy/direct_async 788s ok 3 /proxy/single_sync 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e2000 and GSocketClientAsyncConnectData 0x14e1fb8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e31a8 for GSocketClientAsyncConnectData 0x14e1fb8 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s ok 4 /proxy/single_async 788s ok 5 /proxy/multiple_sync 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14dd080 and GSocketClientAsyncConnectData 0x14e2d88 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3678 for GSocketClientAsyncConnectData 0x14e2d88 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14dd130 for GSocketClientAsyncConnectData 0x14e2d88 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s ok 6 /proxy/multiple_async 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 788s ok 7 /proxy/invalid-uris-sync 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14dd080 and GSocketClientAsyncConnectData 0x14e3118 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e2ca0 and GSocketClientAsyncConnectData 0x14e3118 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e1bb0 and GSocketClientAsyncConnectData 0x14e3118 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3730 for GSocketClientAsyncConnectData 0x14e3118 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e2ca0 and GSocketClientAsyncConnectData 0x14e1fe8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3868 for GSocketClientAsyncConnectData 0x14e1fe8 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s ok 8 /proxy/invalid-uris-async 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e31d0 and GSocketClientAsyncConnectData 0x14e2ea8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 788s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e3400 and GSocketClientAsyncConnectData 0x14e1fe8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3660 for GSocketClientAsyncConnectData 0x14e1fe8 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e3400 and GSocketClientAsyncConnectData 0x14e2ea8 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3218 for GSocketClientAsyncConnectData 0x14e2ea8 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s ok 9 /proxy/dns 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e3400 and GSocketClientAsyncConnectData 0x14e1c88 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3610 for GSocketClientAsyncConnectData 0x14e1c88 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e3400 and GSocketClientAsyncConnectData 0x14e2a90 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3610 for GSocketClientAsyncConnectData 0x14e2a90 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 788s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 788s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14e3400 and GSocketClientAsyncConnectData 0x14e2c98 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 788s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14e3610 for GSocketClientAsyncConnectData 0x14e2c98 788s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 788s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 788s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 788s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 788s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 788s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 788s ok 10 /proxy/override 788s ok 11 /proxy/enumerator-ports 788s # End of proxy tests 788s ok - glib/proxy-test.test 788s # Running test: glib/thread-pool-slow.test 788s TAP version 14 788s # random seed: R02Sb6b2c4eca8bab7b4c59ac1930357e1e8 788s 1..7 788s # Start of threadpool tests 788s ok 1 /threadpool/functions 788s # Executing: glib/thread-pool-slow.test 789s ok 2 /threadpool/stop-unused 789s # slow test /threadpool/stop-unused executed in 0.51 secs 789s ok 3 /threadpool/pools 789s # [unsorted] ===> pushed new thread with id:98, number of threads:1, unprocessed:1 789s # [unsorted] ===> pushed new thread with id:87, number of threads:2, unprocessed:1 789s # [unsorted] ===> pushed new thread with id:16, number of threads:3, unprocessed:1 789s # [unsorted] ===> pushed new thread with id:52, number of threads:4, unprocessed:2 789s # [unsorted] ===> pushed new thread with id:56, number of threads:5, unprocessed:3 789s # [unsorted] ===> pushed new thread with id:62, number of threads:6, unprocessed:4 789s # [unsorted] ===> pushed new thread with id:2, number of threads:7, unprocessed:4 789s # [unsorted] ===> pushed new thread with id:8, number of threads:8, unprocessed:5 789s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:2 789s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:2 789s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:1 789s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:2 789s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:3 789s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:4 789s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:5 789s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:6 789s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:7 789s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:8 789s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:9 789s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:10 789s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:11 789s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:12 789s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:13 789s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:14 789s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:15 789s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:16 789s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:17 789s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:18 789s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:19 789s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:20 789s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:21 789s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:22 789s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:23 789s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:24 789s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:25 789s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:26 789s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:27 789s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:28 789s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:29 789s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:30 789s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:31 789s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:32 789s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:33 789s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:34 789s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:35 789s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:36 789s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:37 789s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:38 789s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:39 789s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:40 789s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:41 789s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:42 789s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:43 789s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:44 789s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:45 789s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:46 789s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:47 789s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:48 789s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:49 789s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:50 789s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:51 789s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:52 789s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:53 789s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:54 789s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:55 789s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:56 789s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:57 789s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:58 789s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:59 789s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:60 789s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:61 789s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:62 789s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:63 789s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:64 789s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:65 789s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:66 789s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:67 789s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 789s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:69 789s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:70 789s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:71 789s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:72 789s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:73 789s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:74 789s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:75 789s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:76 789s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:77 789s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:78 789s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:79 789s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:80 789s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:81 789s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:82 789s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:83 789s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:84 789s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:85 789s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:86 789s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:87 789s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:88 789s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:89 789s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:90 789s ok 4 /threadpool/no-sort 789s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:1 789s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:2 789s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:3 789s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:4 789s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:5 789s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:6 789s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:7 789s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:8 789s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:9 789s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:10 789s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:11 789s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:12 789s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:13 789s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:14 789s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:15 789s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:16 789s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:17 789s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:18 789s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:19 789s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:20 789s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:21 789s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:22 789s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:23 789s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:24 789s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:25 789s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:26 789s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:27 789s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:28 789s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:29 789s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:30 789s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:31 789s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:32 789s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:33 789s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:34 789s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:35 789s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:36 789s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:37 789s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:38 789s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:39 789s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:40 789s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:41 789s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:42 789s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:43 789s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:44 789s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:45 789s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:46 789s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:47 789s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:48 789s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:49 789s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:50 789s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:51 789s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:52 789s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:53 789s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:54 789s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:55 789s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:56 789s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:57 789s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:58 789s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:59 789s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:60 789s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:61 789s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:62 789s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:63 789s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:64 789s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:65 789s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:66 789s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:67 789s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:68 789s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:69 789s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:70 789s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:71 789s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:72 789s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:73 789s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:74 789s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:75 789s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:76 789s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:77 789s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:78 789s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:79 789s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:80 789s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:81 789s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:82 789s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:83 789s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:84 789s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:85 789s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:86 789s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:87 789s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:88 789s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:89 789s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:90 789s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:91 789s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:92 789s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:93 789s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:94 789s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:95 789s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:96 789s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:97 789s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:98 789s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:99 789s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:100 789s # Starting thread pool processing 789s ok 5 /threadpool/sort 789s ok 6 /threadpool/stop-unused-multiple 789s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 789s # Pool idle thread count: 0, unprocessed jobs: 40 790s # Pool idle thread count: 0, unprocessed jobs: 0 790s # Pool idle thread count: 0, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Executing: glib/thread-pool-slow.test 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 2 798s # Pool idle thread count: 10, unprocessed jobs: 2 798s # Pool idle thread count: 8, unprocessed jobs: 0 798s # Pool idle thread count: 8, unprocessed jobs: 0 798s # Executing: glib/thread-pool-slow.test 799s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 10, unprocessed jobs: 0 800s # Pool idle thread count: 10, unprocessed jobs: 0 800s # Pool idle thread count: 10, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Executing: glib/thread-pool-slow.test 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 808s # Pool idle thread count: 2, unprocessed jobs: 0 808s # Pool idle thread count: 2, unprocessed jobs: 0 808s # Pool idle thread count: 2, unprocessed jobs: 0 808s # Pool idle thread count: 2, unprocessed jobs: 0 808s # Executing: glib/thread-pool-slow.test 809s ok 7 /threadpool/idle-time 809s # slow test /threadpool/idle-time executed in 19.53 secs 809s # End of threadpool tests 809s ok - glib/thread-pool-slow.test 809s # Running test: glib/g-file.test 809s TAP version 14 809s # random seed: R02S3d0f6bac890ffc0ffc03be043e0682d0 809s 1..8 809s # Start of g-file tests 809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 809s ok 1 /g-file/test_g_file_new_null 809s ok 2 /g-file/test_g_file_new_for_path 809s ok 3 /g-file/test_g_file_new_for_uri 809s ok 4 /g-file/test_g_file_dup 809s ok 5 /g-file/test_g_file_get_parse_name_utf8 809s file:///tmp/test-tmp-glib_g-file.test-E5Z9W2 809s file:///tmp 809s file:///tmp 809s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 809s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 809s ok 6 /g-file/test_g_file_new_for_commandline_arg 809s /dir1 /dir1/dir2/dir3/ 809s /dir1/ /dir1/dir2/dir3/ 809s /dir1 /dir1/dir2/dir3 809s /dir1/ /dir1/dir2/dir3 809s /tmp/ /something/ 809s /dir1/dir2 /dir1/ 809s //dir1/new //dir1/new/dir2/dir3 809s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 809s file:///dir1 file:///dir1/dir2/dir3/ 809s file:///dir1/ file:///dir1/dir2/dir3/ 809s file:///dir1 file:///dir1/dir2/dir3 809s file:///dir1/ file:///dir1/dir2/dir3 809s file:///tmp/ file:///something/ 809s file:///dir1/dir2 file:///dir1/ 809s file:////dir1/new file:////dir1/new/dir2/dir3 809s 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 809s ok 7 /g-file/test_g_file_has_prefix 809s ok 8 /g-file/test_g_file_get_parent_child 809s # End of g-file tests 809s ok - glib/g-file.test 809s # Running test: glib/spawn-path-search.test 809s TAP version 14 809s # random seed: R02S9bb8024554e6a1c69ade4e80d2634aff 809s 1..7 809s # Start of spawn tests 809s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 809s # 809s # this is spawn-test-helper from glib/tests 809s # 809s ok 1 /spawn/do-not-search 809s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 809s # 809s # this is spawn-test-helper from path-test-subdir 809s # 809s ok 2 /spawn/search-path 809s # /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. 809s # 809s # this is spawn-test-helper from path-test-subdir 809s # 809s ok 3 /spawn/search-path-from-envp 809s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 809s # 809s # this is spawn-test-helper from path-test-subdir 809s # 809s ok 4 /spawn/search-path-ambiguous 809s # 809s # this is spawn-test-helper from path-test-subdir 809s # 809s ok 5 /spawn/search-path-heap-allocation 809s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 809s # 809s # this is spawn-test-helper from glib/tests 809s # 809s ok 6 /spawn/search-path-fallback-in-environ 809s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 809s # 809s # this is spawn-test-helper from glib/tests 809s # 809s ok 7 /spawn/search-path-fallback-in-envp 809s # End of spawn tests 809s ok - glib/spawn-path-search.test 809s # Running test: glib/hmac.test 809s TAP version 14 809s # random seed: R02S59092c81352ea96479351b7da0ba37e6 809s 1..37 809s # Start of hmac tests 809s ok 1 /hmac/sha1-1 809s ok 2 /hmac/sha1-2 809s ok 3 /hmac/sha1-3 809s ok 4 /hmac/sha1-4 809s ok 5 /hmac/sha1-5 809s ok 6 /hmac/sha1-6 809s ok 7 /hmac/sha1-7 809s ok 8 /hmac/sha256-1 809s ok 9 /hmac/sha256-2 809s ok 10 /hmac/sha256-3 809s ok 11 /hmac/sha256-4 809s ok 12 /hmac/sha256-5 809s ok 13 /hmac/sha256-6 809s ok 14 /hmac/sha384-1 809s ok 15 /hmac/sha384-2 809s ok 16 /hmac/sha384-3 809s ok 17 /hmac/sha384-4 809s ok 18 /hmac/sha384-5 809s ok 19 /hmac/sha384-6 809s ok 20 /hmac/sha512-1 809s ok 21 /hmac/sha512-2 809s ok 22 /hmac/sha512-3 809s ok 23 /hmac/sha512-4 809s ok 24 /hmac/sha512-5 809s ok 25 /hmac/sha512-6 809s ok 26 /hmac/md5-1 809s ok 27 /hmac/md5-2 809s ok 28 /hmac/md5-3 809s ok 29 /hmac/md5-4 809s ok 30 /hmac/md5-5 809s ok 31 /hmac/md5-6 809s ok 32 /hmac/md5-7 809s ok 33 /hmac/ref-unref 809s ok 34 /hmac/copy 809s ok 35 /hmac/for-data 809s ok 36 /hmac/for-string 809s ok 37 /hmac/for-bytes 809s # End of hmac tests 809s ok - glib/hmac.test 809s # Running test: glib/singleton.test 809s TAP version 14 809s # random seed: R02S97852deac5af7c1407c3e357551f27f5 809s 1..2 809s # Start of gobject tests 809s # Start of singleton tests 809s ok 1 /gobject/singleton/construction 809s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 809s ok 2 /gobject/singleton/construct-property 809s # End of singleton tests 809s # End of gobject tests 809s ok - glib/singleton.test 809s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 809s TAP version 14 809s # random seed: R02Sa9c4fd68271242a5c25566f4d4d241c6 809s 1..8 809s # Start of gdbus tests 809s # Start of codegen tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/annotations/.dirs/runtime 809s ok 1 /gdbus/codegen/annotations 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/interface_stability/.dirs/runtime 809s ok 2 /gdbus/codegen/interface_stability 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/object-manager/.dirs/runtime 809s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 809s ok 3 /gdbus/codegen/object-manager 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/property-naming/.dirs/runtime 809s ok 4 /gdbus/codegen/property-naming 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/autocleanups/.dirs/runtime 809s ok 5 /gdbus/codegen/autocleanups 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/deprecations/.dirs/runtime 809s ok 6 /gdbus/codegen/deprecations 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 809s ok 7 /gdbus/codegen/standalone-interface-info 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NLE0W2/gdbus/codegen/unix-fd-list/.dirs/runtime 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 809s ok 8 /gdbus/codegen/unix-fd-list 809s # End of codegen tests 809s # End of gdbus tests 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s ok - glib/gdbus-test-codegen-min-required-2-64.test 809s # Running test: glib/pattern.test 809s TAP version 14 809s # random seed: R02S15e0eb187ca9f8b00b0b3827c6ee01e3 809s 1..90 809s # Start of pattern tests 809s # Start of compile tests 809s ok 1 /pattern/compile/0 809s ok 2 /pattern/compile/1 809s ok 3 /pattern/compile/2 809s ok 4 /pattern/compile/3 809s ok 5 /pattern/compile/4 809s ok 6 /pattern/compile/5 809s ok 7 /pattern/compile/6 809s ok 8 /pattern/compile/7 809s ok 9 /pattern/compile/8 809s ok 10 /pattern/compile/9 809s ok 11 /pattern/compile/10 809s ok 12 /pattern/compile/11 809s ok 13 /pattern/compile/12 809s ok 14 /pattern/compile/13 809s # End of compile tests 809s # Start of copy tests 809s ok 15 /pattern/copy/0 809s ok 16 /pattern/copy/1 809s ok 17 /pattern/copy/2 809s ok 18 /pattern/copy/3 809s ok 19 /pattern/copy/4 809s ok 20 /pattern/copy/5 809s ok 21 /pattern/copy/6 809s ok 22 /pattern/copy/7 809s ok 23 /pattern/copy/8 809s ok 24 /pattern/copy/9 809s ok 25 /pattern/copy/10 809s ok 26 /pattern/copy/11 809s ok 27 /pattern/copy/12 809s ok 28 /pattern/copy/13 809s # End of copy tests 809s # Start of match tests 809s ok 29 /pattern/match/0 809s ok 30 /pattern/match/1 809s ok 31 /pattern/match/2 809s ok 32 /pattern/match/3 809s ok 33 /pattern/match/4 809s ok 34 /pattern/match/5 809s ok 35 /pattern/match/6 809s ok 36 /pattern/match/7 809s ok 37 /pattern/match/8 809s ok 38 /pattern/match/9 809s ok 39 /pattern/match/10 809s ok 40 /pattern/match/11 809s ok 41 /pattern/match/12 809s ok 42 /pattern/match/13 809s ok 43 /pattern/match/14 809s ok 44 /pattern/match/15 809s ok 45 /pattern/match/16 809s ok 46 /pattern/match/17 809s ok 47 /pattern/match/18 809s ok 48 /pattern/match/19 809s ok 49 /pattern/match/20 809s ok 50 /pattern/match/21 809s ok 51 /pattern/match/22 809s ok 52 /pattern/match/23 809s ok 53 /pattern/match/24 809s ok 54 /pattern/match/25 809s ok 55 /pattern/match/26 809s ok 56 /pattern/match/27 809s ok 57 /pattern/match/28 809s ok 58 /pattern/match/29 809s ok 59 /pattern/match/30 809s ok 60 /pattern/match/31 809s ok 61 /pattern/match/32 809s ok 62 /pattern/match/33 809s ok 63 /pattern/match/34 809s ok 64 /pattern/match/35 809s ok 65 /pattern/match/36 809s ok 66 /pattern/match/37 809s ok 67 /pattern/match/38 809s ok 68 /pattern/match/39 809s ok 69 /pattern/match/40 809s ok 70 /pattern/match/41 809s ok 71 /pattern/match/42 809s ok 72 /pattern/match/43 809s ok 73 /pattern/match/44 809s ok 74 /pattern/match/45 809s ok 75 /pattern/match/46 809s ok 76 /pattern/match/47 809s ok 77 /pattern/match/48 809s ok 78 /pattern/match/49 809s ok 79 /pattern/match/50 809s # End of match tests 809s # Start of equal tests 809s ok 80 /pattern/equal/0 809s ok 81 /pattern/equal/1 809s ok 82 /pattern/equal/2 809s ok 83 /pattern/equal/3 809s ok 84 /pattern/equal/4 809s ok 85 /pattern/equal/5 809s ok 86 /pattern/equal/6 809s ok 87 /pattern/equal/7 809s ok 88 /pattern/equal/8 809s ok 89 /pattern/equal/9 809s ok 90 /pattern/equal/10 809s # End of equal tests 809s # End of pattern tests 809s ok - glib/pattern.test 809s # Running test: glib/memory-input-stream.test 809s TAP version 14 809s # random seed: R02S6c6ab4b0b58c3193bddaf5cc3991248c 809s 1..6 809s # Start of memory-input-stream tests 809s ok 1 /memory-input-stream/read-chunks 809s ok 2 /memory-input-stream/async 809s ok 3 /memory-input-stream/seek 809s ok 4 /memory-input-stream/truncate 809s ok 5 /memory-input-stream/read-bytes 809s ok 6 /memory-input-stream/from-bytes 809s # End of memory-input-stream tests 809s ok - glib/memory-input-stream.test 809s # Running test: glib/gutils-user-database.test 809s TAP version 14 809s # random seed: R02S6264519d667b28924272f167b9e10946 809s 1..1 809s # Start of gutils tests 809s ok 1 /gutils/get_user_database_entry 809s # End of gutils tests 809s ok - glib/gutils-user-database.test 809s # Running test: glib/utf8-pointer.test 809s TAP version 14 809s # random seed: R02Scb7e15ce761cefb78e5e0e86440516ca 809s 1..3 809s # Start of utf8 tests 810s ok 1 /utf8/offsets 810s # slow test /utf8/offsets executed in 0.99 secs 810s ok 2 /utf8/lengths 810s ok 3 /utf8/find 810s # End of utf8 tests 810s ok - glib/utf8-pointer.test 810s # Running test: glib/binding.test 810s TAP version 14 810s # random seed: R02Sa0a2e5a8d3b98d8194ab6a5c810bc832 810s 1..19 810s # Start of binding tests 810s ok 1 /binding/default 810s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 810s ok 2 /binding/canonicalisation 810s ok 3 /binding/bidirectional 810s ok 4 /binding/transform 810s ok 5 /binding/transform-default 810s ok 6 /binding/transform-closure 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 810s ok 7 /binding/chain 810s ok 8 /binding/sync-create 810s ok 9 /binding/invert-boolean 810s ok 10 /binding/same-object 810s ok 11 /binding/unbind 810s ok 12 /binding/unbind-weak 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 810s ok 13 /binding/unbind-multiple 810s ok 14 /binding/fail 810s ok 15 /binding/interface 810s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 810s ok 16 /binding/concurrent-unbind 810s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 810s ok 17 /binding/concurrent-finalizing 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 810s ok 18 /binding/dispose-source 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 810s ok 19 /binding/dispose-target 810s # End of binding tests 810s ok - glib/binding.test 810s # Running test: glib/network-monitor-race.test 810s TAP version 14 810s # random seed: R02S990f653818d51cc8ceb232f9ca140e2d 810s 1..1 810s # Start of network-monitor tests 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 812s ok 1 /network-monitor/create-in-thread 812s # slow test /network-monitor/create-in-thread executed in 2.16 secs 812s # End of network-monitor tests 812s ok - glib/network-monitor-race.test 812s # Running test: glib/init.test 812s TAP version 14 812s # random seed: R02S686bafdecf30d6a41d0770bb570cf2cb 812s 1..2 812s # Start of thread tests 812s # Start of deprecated tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DTDHX2/thread/deprecated/init/.dirs/runtime 812s ok 1 /thread/deprecated/init 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DTDHX2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 812s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 812s # End of deprecated tests 812s # End of thread tests 812s ok - glib/init.test 812s # Running test: glib/buffered-input-stream.test 812s TAP version 14 812s # random seed: R02S17e783c47d693867e6d9305fd9c59548 812s 1..10 812s # Start of buffered-input-stream tests 812s ok 1 /buffered-input-stream/peek 812s ok 2 /buffered-input-stream/peek-buffer 812s ok 3 /buffered-input-stream/set-buffer-size 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 812s ok 4 /buffered-input-stream/read-byte 812s ok 5 /buffered-input-stream/read 812s ok 6 /buffered-input-stream/read-async 812s ok 7 /buffered-input-stream/skip 812s ok 8 /buffered-input-stream/skip-async 812s ok 9 /buffered-input-stream/seek 812s # End of buffered-input-stream tests 812s # Start of filter-input-stream tests 812s ok 10 /filter-input-stream/close 812s # End of filter-input-stream tests 812s ok - glib/buffered-input-stream.test 812s # Running test: glib/network-address.test 812s TAP version 14 812s # random seed: R02Sc4e337657b82c802b352f31854fb7c38 812s 1..72 812s # Start of network-address tests 812s ok 1 /network-address/basic 812s ok 2 /network-address/scope-id 812s ok 3 /network-address/uri-scope-id 812s ok 4 /network-address/to-string 812s # Start of parse-host tests 812s ok 5 /network-address/parse-host/0 812s ok 6 /network-address/parse-host/1 812s ok 7 /network-address/parse-host/2 812s ok 8 /network-address/parse-host/3 812s ok 9 /network-address/parse-host/4 812s ok 10 /network-address/parse-host/5 812s ok 11 /network-address/parse-host/6 812s ok 12 /network-address/parse-host/7 812s ok 13 /network-address/parse-host/8 812s ok 14 /network-address/parse-host/9 812s ok 15 /network-address/parse-host/10 812s ok 16 /network-address/parse-host/11 812s ok 17 /network-address/parse-host/12 812s ok 18 /network-address/parse-host/13 812s # End of parse-host tests 812s # Start of parse-uri tests 812s ok 19 /network-address/parse-uri/0 812s ok 20 /network-address/parse-uri/1 812s ok 21 /network-address/parse-uri/2 812s ok 22 /network-address/parse-uri/3 812s ok 23 /network-address/parse-uri/4 812s ok 24 /network-address/parse-uri/5 812s ok 25 /network-address/parse-uri/6 812s ok 26 /network-address/parse-uri/7 812s ok 27 /network-address/parse-uri/8 812s ok 28 /network-address/parse-uri/9 812s # End of parse-uri tests 812s # Start of resolve-address tests 812s # Input: 192.168.1.2 812s ok 29 /network-address/resolve-address/0 812s # Input: fe80::42 812s ok 30 /network-address/resolve-address/1 812s # Input: 192.168.1.2:80 812s ok 31 /network-address/resolve-address/2 812s # Input: [fe80::42] 812s ok 32 /network-address/resolve-address/3 812s # Input: [fe80::42]:80 812s ok 33 /network-address/resolve-address/4 812s # Input: 192.168.258 812s ok 34 /network-address/resolve-address/5 812s # Input: 192.11010306 812s ok 35 /network-address/resolve-address/6 812s # Input: 3232235778 812s ok 36 /network-address/resolve-address/7 812s # Input: 0300.0250.0001.0001 812s ok 37 /network-address/resolve-address/8 812s # Input: 0xC0.0xA8.0x01.0x02 812s ok 38 /network-address/resolve-address/9 812s # Input: 0xc0.0xa8.0x01.0x02 812s ok 39 /network-address/resolve-address/10 812s # Input: 0xc0a80102 812s ok 40 /network-address/resolve-address/11 812s # End of resolve-address tests 812s # Start of loopback tests 812s ok 41 /network-address/loopback/basic 812s ok 42 /network-address/loopback/sync 812s ok 43 /network-address/loopback/async 812s # End of loopback tests 812s # Start of localhost tests 812s ok 44 /network-address/localhost/async 812s ok 45 /network-address/localhost/sync 812s # End of localhost tests 812s # Start of happy-eyeballs tests 812s ok 46 /network-address/happy-eyeballs/basic 812s ok 47 /network-address/happy-eyeballs/parallel 812s ok 48 /network-address/happy-eyeballs/slow-ipv4 812s ok 49 /network-address/happy-eyeballs/slow-ipv6 813s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 813s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 813s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 813s # Executing: glib/network-address.test 813s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 813s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 813s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 813s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 813s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 813s # /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. 813s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 814s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s ok 57 /network-address/happy-eyeballs/both-error 814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s ok 58 /network-address/happy-eyeballs/both-error-delays-1 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 814s ok 59 /network-address/happy-eyeballs/both-error-delays-2 814s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 814s ok 60 /network-address/happy-eyeballs/both-error-delays-3 814s # End of happy-eyeballs tests 814s # End of network-address tests 814s # Start of gresolver tests 814s # Start of resolve-address tests 814s # Input: 192.168.1.2 814s ok 61 /gresolver/resolve-address/0 814s # Input: fe80::42 814s ok 62 /gresolver/resolve-address/1 814s # Input: 192.168.1.2:80 814s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 814s ok 63 /gresolver/resolve-address/2 814s # Input: [fe80::42] 814s # Error: Error resolving ?[fe80::42]?: Name or service not known 814s ok 64 /gresolver/resolve-address/3 814s # Input: [fe80::42]:80 814s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 814s ok 65 /gresolver/resolve-address/4 814s # Input: 192.168.258 814s # Error: Error resolving ?192.168.258?: Name or service not known 814s ok 66 /gresolver/resolve-address/5 814s # Input: 192.11010306 814s # Error: Error resolving ?192.11010306?: Name or service not known 814s ok 67 /gresolver/resolve-address/6 814s # Input: 3232235778 814s # Error: Error resolving ?3232235778?: Name or service not known 814s ok 68 /gresolver/resolve-address/7 814s # Input: 0300.0250.0001.0001 814s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 814s ok 69 /gresolver/resolve-address/8 814s # Input: 0xC0.0xA8.0x01.0x02 814s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 814s ok 70 /gresolver/resolve-address/9 814s # Input: 0xc0.0xa8.0x01.0x02 814s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 814s ok 71 /gresolver/resolve-address/10 814s # Input: 0xc0a80102 814s # Error: Error resolving ?0xc0a80102?: Name or service not known 814s ok 72 /gresolver/resolve-address/11 814s # End of resolve-address tests 814s # End of gresolver tests 814s ok - glib/network-address.test 814s # Running test: glib/spawn-multithreaded.test 814s TAP version 14 814s # random seed: R02Sffa08501dbbb4f2efe8c4c6ade5aa241 814s 1..4 814s # Start of gthread tests 815s # Child 6423 (ttl 1) exited, status 0 816s # Child 6424 (ttl 2) exited, status 0 816s ok 1 /gthread/spawn-childs 816s # slow test /gthread/spawn-childs executed in 2.00 secs 816s # Created pid: 6428 (ttl 1) 816s # Created pid: 6429 (ttl 2) 817s # Child 6428 (ttl 1) exited, status 0 818s # Child 6429 (ttl 2) exited, status 0 818s ok 2 /gthread/spawn-childs-threads 818s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 818s ok 3 /gthread/spawn-sync 818s ok 4 /gthread/spawn-async 818s # End of gthread tests 818s ok - glib/spawn-multithreaded.test 818s # Running test: glib/resources.test 818s TAP version 14 818s # random seed: R02S8f83562860860e5218fddbf6581a238a 818s 1..17 818s # Start of resource tests 818s ok 1 /resource/file 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 818s ok 2 /resource/file-path 818s ok 3 /resource/data 818s ok 4 /resource/data_unaligned 818s ok 5 /resource/data-corrupt 818s ok 6 /resource/data-empty 818s ok 7 /resource/registered 818s ok 8 /resource/manual 818s ok 9 /resource/manual2 818s ok 10 /resource/automatic 818s ok 11 /resource/module 818s ok 12 /resource/binary-linked 818s ok 13 /resource/64k 818s GLib-GIO-Message: 16:30:54.194: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 818s ok 14 /resource/overlay 818s ok 15 /resource/digits 818s # Start of uri tests 818s ok 16 /resource/uri/query-info 818s ok 17 /resource/uri/file 818s # End of uri tests 818s # End of resource tests 818s ok - glib/resources.test 818s # Running test: glib/date.test 818s TAP version 14 818s # random seed: R02S121df94fa6c03452b0b8bfc2cd22b680 818s 1..121 818s # Start of date tests 818s ok 1 /date/basic 818s ok 2 /date/empty 818s ok 3 /date/dmy 818s ok 4 /date/julian 818s ok 5 /date/compare 818s ok 6 /date/dates 818s ok 7 /date/strftime 818s ok 8 /date/two-digit-years 818s ok 9 /date/parse 818s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 818s ok 11 /date/month_substring 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 818s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 818s ok 13 /date/clamp 818s ok 14 /date/order 818s ok 15 /date/copy 818s # Vector 0: 0000-00-00, invalid 818s # Vector 1: 0001-01-01, valid 818s # Vector 2: 0000-01-01, invalid 818s # Vector 3: 2000-02-30, invalid 818s # Vector 4: 2000-02-29, valid 818s # Vector 5: 2001-02-29, invalid 818s # Vector 6: 65535-01-01, valid 818s ok 16 /date/valid-dmy 818s # Start of parse tests 818s # Test 0 818s # Test 1 818s ok 17 /date/parse/invalid 818s # End of parse tests 818s # Start of year tests 818s ok 18 /date/year/1 818s ok 19 /date/year/2 818s ok 20 /date/year/3 818s ok 21 /date/year/4 818s ok 22 /date/year/5 818s ok 23 /date/year/6 818s ok 24 /date/year/7 818s ok 25 /date/year/8 818s ok 26 /date/year/9 818s ok 27 /date/year/10 818s ok 28 /date/year/11 818s ok 29 /date/year/12 818s ok 30 /date/year/13 818s ok 31 /date/year/14 818s ok 32 /date/year/98 818s ok 33 /date/year/99 818s ok 34 /date/year/100 818s ok 35 /date/year/101 818s ok 36 /date/year/102 818s ok 37 /date/year/103 818s ok 38 /date/year/397 818s ok 39 /date/year/398 818s ok 40 /date/year/399 818s ok 41 /date/year/400 818s ok 42 /date/year/401 818s ok 43 /date/year/402 818s ok 44 /date/year/403 818s ok 45 /date/year/404 818s ok 46 /date/year/405 818s ok 47 /date/year/406 818s ok 48 /date/year/1598 818s ok 49 /date/year/1599 818s ok 50 /date/year/1600 818s ok 51 /date/year/1601 818s ok 52 /date/year/1602 818s ok 53 /date/year/1650 818s ok 54 /date/year/1651 818s ok 55 /date/year/1897 818s ok 56 /date/year/1898 818s ok 57 /date/year/1899 818s ok 58 /date/year/1900 818s ok 59 /date/year/1901 818s ok 60 /date/year/1902 818s ok 61 /date/year/1903 818s ok 62 /date/year/1961 818s ok 63 /date/year/1962 818s ok 64 /date/year/1963 818s ok 65 /date/year/1964 818s ok 66 /date/year/1965 818s ok 67 /date/year/1967 818s ok 68 /date/year/1968 818s ok 69 /date/year/1969 818s ok 70 /date/year/1970 818s ok 71 /date/year/1971 818s ok 72 /date/year/1972 818s ok 73 /date/year/1973 818s ok 74 /date/year/1974 818s ok 75 /date/year/1975 818s ok 76 /date/year/1976 818s ok 77 /date/year/1977 818s ok 78 /date/year/1978 818s ok 79 /date/year/1979 818s ok 80 /date/year/1980 818s ok 81 /date/year/1981 818s ok 82 /date/year/1982 818s ok 83 /date/year/1983 818s ok 84 /date/year/1984 818s ok 85 /date/year/1985 818s ok 86 /date/year/1986 818s ok 87 /date/year/1987 818s ok 88 /date/year/1988 818s ok 89 /date/year/1989 818s ok 90 /date/year/1990 818s ok 91 /date/year/1991 818s ok 92 /date/year/1992 818s ok 93 /date/year/1993 818s ok 94 /date/year/1994 818s ok 95 /date/year/1995 818s ok 96 /date/year/1996 818s ok 97 /date/year/1997 818s ok 98 /date/year/1998 818s ok 99 /date/year/1999 818s ok 100 /date/year/2000 818s ok 101 /date/year/2001 818s ok 102 /date/year/2002 818s ok 103 /date/year/2003 818s ok 104 /date/year/2004 818s ok 105 /date/year/2005 818s ok 106 /date/year/2006 818s ok 107 /date/year/2007 818s ok 108 /date/year/2008 818s ok 109 /date/year/2009 818s ok 110 /date/year/2010 818s ok 111 /date/year/2011 818s ok 112 /date/year/2012 818s ok 113 /date/year/3000 818s ok 114 /date/year/3001 818s ok 115 /date/year/3002 818s ok 116 /date/year/3998 818s ok 117 /date/year/3999 818s ok 118 /date/year/4000 818s ok 119 /date/year/4001 818s ok 120 /date/year/4002 818s ok 121 /date/year/4003 818s # End of year tests 818s # End of date tests 818s ok - glib/date.test 818s # Running test: glib/keyfile.test 818s TAP version 14 818s # random seed: R02S5ba2955c09ec84ab32d0890d828dbb55 818s 1..36 818s # Start of keyfile tests 818s ok 1 /keyfile/line-ends 818s ok 2 /keyfile/whitespace 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 818s ok 3 /keyfile/comments 818s ok 4 /keyfile/listing 818s ok 5 /keyfile/string 818s ok 6 /keyfile/boolean 818s ok 7 /keyfile/number 818s ok 8 /keyfile/locale-string 818s ok 9 /keyfile/lists 818s ok 10 /keyfile/lists-set-get 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 818s ok 11 /keyfile/group-remove 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 818s ok 12 /keyfile/key-remove 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 818s ok 13 /keyfile/groups 818s ok 14 /keyfile/duplicate-keys 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 818s ok 15 /keyfile/duplicate-groups 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 818s ok 16 /keyfile/duplicate-groups2 818s ok 17 /keyfile/group-names 818s ok 18 /keyfile/key-names 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 818s ok 19 /keyfile/reload 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 818s ok 20 /keyfile/int64 818s ok 21 /keyfile/load 818s ok 22 /keyfile/save 818s ok 23 /keyfile/load-fail 818s ok 24 /keyfile/non-utf8 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 818s ok 25 /keyfile/page-boundary 818s ok 26 /keyfile/ref 818s ok 27 /keyfile/replace-value 818s ok 28 /keyfile/list-separator 818s ok 29 /keyfile/empty-string 818s ok 30 /keyfile/limbo 818s # Testing invalid encoding ?non-UTF-8? 818s # Testing invalid encoding ?UTF? 818s # Testing invalid encoding ?UTF-9? 818s ok 31 /keyfile/utf8 818s ok 32 /keyfile/roundtrip 818s ok 33 /keyfile/bytes 818s ok 34 /keyfile/get-locale 818s ok 35 /keyfile/free-when-not-last-ref 818s # Start of locale-string tests 818s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 818s ok 36 /keyfile/locale-string/multiple-loads 818s # End of locale-string tests 818s # End of keyfile tests 818s ok - glib/keyfile.test 818s # Running test: glib/flags.test 818s TAP version 14 818s # random seed: R02Sd7c5cadbfc8c03620a4659f705adc784 818s 1..1 818s # Start of gobject tests 818s # Start of flags tests 818s ok 1 /gobject/flags/validate 818s # End of flags tests 818s # End of gobject tests 818s ok - glib/flags.test 818s # Running test: glib/gdbus-addresses.test 818s TAP version 14 818s # random seed: R02Sba42284b7c39d62ac7355d8526d67455 818s 1..9 818s # Start of gdbus tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/empty-address/.dirs/runtime 818s ok 1 /gdbus/empty-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unsupported-address/.dirs/runtime 818s ok 2 /gdbus/unsupported-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/address-parsing/.dirs/runtime 818s ok 3 /gdbus/address-parsing 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/unix-address/.dirs/runtime 818s ok 4 /gdbus/unix-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/nonce-tcp-address/.dirs/runtime 818s ok 5 /gdbus/nonce-tcp-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/tcp-address/.dirs/runtime 818s ok 6 /gdbus/tcp-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/autolaunch-address/.dirs/runtime 818s ok 7 /gdbus/autolaunch-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/mixed-address/.dirs/runtime 818s ok 8 /gdbus/mixed-address 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YI3HX2/gdbus/escape-address/.dirs/runtime 818s ok 9 /gdbus/escape-address 818s # End of gdbus tests 818s ok - glib/gdbus-addresses.test 818s # Running test: glib/bookmarkfile.test 818s TAP version 14 818s # random seed: R02Sda7f9d2595de62b1b6a41f9d69682eb3 818s 1..96 818s # Start of bookmarks tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/load-from-data-dirs/.dirs/runtime 818s ok 1 /bookmarks/load-from-data-dirs 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/to-file/.dirs/runtime 818s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_J51HX2/bookmarkfile-test-E40HX2.xbel 818s # Roundtrip from a valid bookmark file 818s ok 2 /bookmarks/to-file 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/move-item/.dirs/runtime 818s ok 3 /bookmarks/move-item 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/corner-cases/.dirs/runtime 818s ok 4 /bookmarks/corner-cases 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/misc/.dirs/runtime 818s ok 5 /bookmarks/misc 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/deprecated/.dirs/runtime 818s ok 6 /bookmarks/deprecated 818s # Start of parse tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-01.xbel/.dirs/runtime 818s ok 7 /bookmarks/parse/fail-01.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-02.xbel/.dirs/runtime 818s ok 8 /bookmarks/parse/fail-02.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-03.xbel/.dirs/runtime 818s ok 9 /bookmarks/parse/fail-03.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-04.xbel/.dirs/runtime 818s ok 10 /bookmarks/parse/fail-04.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-05.xbel/.dirs/runtime 818s ok 11 /bookmarks/parse/fail-05.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-06.xbel/.dirs/runtime 818s ok 12 /bookmarks/parse/fail-06.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-07.xbel/.dirs/runtime 818s ok 13 /bookmarks/parse/fail-07.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-08.xbel/.dirs/runtime 818s ok 14 /bookmarks/parse/fail-08.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-09.xbel/.dirs/runtime 818s ok 15 /bookmarks/parse/fail-09.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-10.xbel/.dirs/runtime 818s ok 16 /bookmarks/parse/fail-10.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-11.xbel/.dirs/runtime 818s ok 17 /bookmarks/parse/fail-11.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-12.xbel/.dirs/runtime 818s ok 18 /bookmarks/parse/fail-12.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-13.xbel/.dirs/runtime 818s ok 19 /bookmarks/parse/fail-13.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-14.xbel/.dirs/runtime 818s ok 20 /bookmarks/parse/fail-14.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-15.xbel/.dirs/runtime 818s ok 21 /bookmarks/parse/fail-15.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-16.xbel/.dirs/runtime 818s ok 22 /bookmarks/parse/fail-16.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-17.xbel/.dirs/runtime 818s ok 23 /bookmarks/parse/fail-17.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-18.xbel/.dirs/runtime 818s ok 24 /bookmarks/parse/fail-18.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-19.xbel/.dirs/runtime 818s ok 25 /bookmarks/parse/fail-19.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-20.xbel/.dirs/runtime 818s ok 26 /bookmarks/parse/fail-20.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-21.xbel/.dirs/runtime 818s ok 27 /bookmarks/parse/fail-21.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-22.xbel/.dirs/runtime 818s ok 28 /bookmarks/parse/fail-22.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-23.xbel/.dirs/runtime 818s ok 29 /bookmarks/parse/fail-23.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-24.xbel/.dirs/runtime 818s ok 30 /bookmarks/parse/fail-24.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-25.xbel/.dirs/runtime 818s ok 31 /bookmarks/parse/fail-25.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-26.xbel/.dirs/runtime 818s ok 32 /bookmarks/parse/fail-26.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-27.xbel/.dirs/runtime 818s ok 33 /bookmarks/parse/fail-27.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-28.xbel/.dirs/runtime 818s ok 34 /bookmarks/parse/fail-28.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-29.xbel/.dirs/runtime 818s ok 35 /bookmarks/parse/fail-29.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-30.xbel/.dirs/runtime 818s ok 36 /bookmarks/parse/fail-30.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-31.xbel/.dirs/runtime 818s ok 37 /bookmarks/parse/fail-31.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-32.xbel/.dirs/runtime 818s ok 38 /bookmarks/parse/fail-32.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-33.xbel/.dirs/runtime 818s ok 39 /bookmarks/parse/fail-33.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-34.xbel/.dirs/runtime 818s ok 40 /bookmarks/parse/fail-34.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-35.xbel/.dirs/runtime 818s ok 41 /bookmarks/parse/fail-35.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-36.xbel/.dirs/runtime 818s ok 42 /bookmarks/parse/fail-36.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-37.xbel/.dirs/runtime 818s ok 43 /bookmarks/parse/fail-37.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-38.xbel/.dirs/runtime 818s ok 44 /bookmarks/parse/fail-38.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-39.xbel/.dirs/runtime 818s ok 45 /bookmarks/parse/fail-39.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-40.xbel/.dirs/runtime 818s ok 46 /bookmarks/parse/fail-40.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-41.xbel/.dirs/runtime 818s ok 47 /bookmarks/parse/fail-41.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/fail-42.xbel/.dirs/runtime 818s ok 48 /bookmarks/parse/fail-42.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-01.xbel/.dirs/runtime 818s ok 49 /bookmarks/parse/valid-01.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-02.xbel/.dirs/runtime 818s ok 50 /bookmarks/parse/valid-02.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/parse/valid-03.xbel/.dirs/runtime 818s ok 51 /bookmarks/parse/valid-03.xbel 818s # End of parse tests 818s # Start of copy tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-01.xbel/.dirs/runtime 818s ok 52 /bookmarks/copy/fail-01.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-02.xbel/.dirs/runtime 818s ok 53 /bookmarks/copy/fail-02.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-03.xbel/.dirs/runtime 818s ok 54 /bookmarks/copy/fail-03.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-04.xbel/.dirs/runtime 818s ok 55 /bookmarks/copy/fail-04.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-05.xbel/.dirs/runtime 818s ok 56 /bookmarks/copy/fail-05.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-06.xbel/.dirs/runtime 818s ok 57 /bookmarks/copy/fail-06.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-07.xbel/.dirs/runtime 818s ok 58 /bookmarks/copy/fail-07.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-08.xbel/.dirs/runtime 818s ok 59 /bookmarks/copy/fail-08.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-09.xbel/.dirs/runtime 818s ok 60 /bookmarks/copy/fail-09.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-10.xbel/.dirs/runtime 818s ok 61 /bookmarks/copy/fail-10.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-11.xbel/.dirs/runtime 818s ok 62 /bookmarks/copy/fail-11.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-12.xbel/.dirs/runtime 818s ok 63 /bookmarks/copy/fail-12.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-13.xbel/.dirs/runtime 818s ok 64 /bookmarks/copy/fail-13.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-14.xbel/.dirs/runtime 818s ok 65 /bookmarks/copy/fail-14.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-15.xbel/.dirs/runtime 818s ok 66 /bookmarks/copy/fail-15.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-16.xbel/.dirs/runtime 818s ok 67 /bookmarks/copy/fail-16.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-17.xbel/.dirs/runtime 818s ok 68 /bookmarks/copy/fail-17.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-18.xbel/.dirs/runtime 818s ok 69 /bookmarks/copy/fail-18.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-19.xbel/.dirs/runtime 818s ok 70 /bookmarks/copy/fail-19.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-20.xbel/.dirs/runtime 818s ok 71 /bookmarks/copy/fail-20.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-21.xbel/.dirs/runtime 818s ok 72 /bookmarks/copy/fail-21.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-22.xbel/.dirs/runtime 818s ok 73 /bookmarks/copy/fail-22.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-23.xbel/.dirs/runtime 818s ok 74 /bookmarks/copy/fail-23.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-24.xbel/.dirs/runtime 818s ok 75 /bookmarks/copy/fail-24.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-25.xbel/.dirs/runtime 818s ok 76 /bookmarks/copy/fail-25.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-26.xbel/.dirs/runtime 818s ok 77 /bookmarks/copy/fail-26.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-27.xbel/.dirs/runtime 818s ok 78 /bookmarks/copy/fail-27.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-28.xbel/.dirs/runtime 818s ok 79 /bookmarks/copy/fail-28.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-29.xbel/.dirs/runtime 818s ok 80 /bookmarks/copy/fail-29.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-30.xbel/.dirs/runtime 818s ok 81 /bookmarks/copy/fail-30.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-31.xbel/.dirs/runtime 818s ok 82 /bookmarks/copy/fail-31.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-32.xbel/.dirs/runtime 818s ok 83 /bookmarks/copy/fail-32.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-33.xbel/.dirs/runtime 818s ok 84 /bookmarks/copy/fail-33.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-34.xbel/.dirs/runtime 818s ok 85 /bookmarks/copy/fail-34.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-35.xbel/.dirs/runtime 818s ok 86 /bookmarks/copy/fail-35.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-36.xbel/.dirs/runtime 818s ok 87 /bookmarks/copy/fail-36.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-37.xbel/.dirs/runtime 818s ok 88 /bookmarks/copy/fail-37.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-38.xbel/.dirs/runtime 818s ok 89 /bookmarks/copy/fail-38.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-39.xbel/.dirs/runtime 818s ok 90 /bookmarks/copy/fail-39.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-40.xbel/.dirs/runtime 818s ok 91 /bookmarks/copy/fail-40.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-41.xbel/.dirs/runtime 818s ok 92 /bookmarks/copy/fail-41.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/fail-42.xbel/.dirs/runtime 818s ok 93 /bookmarks/copy/fail-42.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-01.xbel/.dirs/runtime 818s ok 94 /bookmarks/copy/valid-01.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-02.xbel/.dirs/runtime 818s ok 95 /bookmarks/copy/valid-02.xbel 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_J51HX2/bookmarks/copy/valid-03.xbel/.dirs/runtime 818s ok 96 /bookmarks/copy/valid-03.xbel 818s # End of copy tests 818s # End of bookmarks tests 818s ok - glib/bookmarkfile.test 818s # Running test: glib/tls-bindings.test 818s TAP version 14 818s # random seed: R02S8f5bfe23b32b2e59e352f773168011cb 818s 1..2 818s # Start of tls-connection tests 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 818s ok 1 /tls-connection/get-tls-channel-binding 818s ok 2 /tls-connection/get-dtls-channel-binding 818s # End of tls-connection tests 818s ok - glib/tls-bindings.test 818s # Running test: glib/cmph-bdz.test 818s TAP version 14 818s # random seed: R02S9a941013f585b12c01cdc79e8fd9c9e3 818s 1..2 818s # Start of cmph-bdz tests 818s ok 1 /cmph-bdz/search 818s ok 2 /cmph-bdz/search-packed 818s # End of cmph-bdz tests 818s ok - glib/cmph-bdz.test 818s # Running test: glib/tls-certificate.test 818s TAP version 14 818s # random seed: R02Sea12deda461115fd5292f83ce5b8c3cf 818s 1..19 818s # Start of tls-certificate tests 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 818s ok 1 /tls-certificate/pem-parser 818s ok 2 /tls-certificate/pem-parser-handles-chain 818s ok 3 /tls-certificate/from_file 818s ok 4 /tls-certificate/from_files 818s ok 5 /tls-certificate/from_files_crlf 818s ok 6 /tls-certificate/from_files_pkcs8 818s ok 7 /tls-certificate/from_files_pkcs8enc 818s ok 8 /tls-certificate/list_from_file 818s ok 9 /tls-certificate/pkcs11-uri 818s ok 10 /tls-certificate/pkcs11-uri-unsupported 818s ok 11 /tls-certificate/from_pkcs12 818s ok 12 /tls-certificate/from_pkcs12_file 818s ok 13 /tls-certificate/not-valid-before 818s ok 14 /tls-certificate/not-valid-after 818s ok 15 /tls-certificate/subject-name 818s ok 16 /tls-certificate/issuer-name 818s ok 17 /tls-certificate/dns-names 818s ok 18 /tls-certificate/ip-addresses 818s ok 19 /tls-certificate/pem-parser-no-sentinel 818s # End of tls-certificate tests 818s ok - glib/tls-certificate.test 818s # Running test: glib/relation.test 818s TAP version 14 818s # random seed: R02S0636f5b2cfa7e0e25959866f28eee4ca 818s 1..1 818s # Start of glib tests 818s ok 1 /glib/relation 818s # End of glib tests 818s ok - glib/relation.test 818s # Running test: glib/cancellable.test 818s TAP version 14 818s # random seed: R02Sa978279f90317570f92fad875d58a9d8 818s 1..10 818s # Start of cancellable tests 818s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 818s ok 2 /cancellable/null 818s # /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 818s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 818s # /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 818s ok 4 /cancellable/resets-on-cancel-callback-hangs 818s ok 5 /cancellable/poll-fd 818s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 818s ok 6 /cancellable/poll-fd-cancelled 818s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 818s # Executing: glib/cancellable.test 818s ok 7 /cancellable/poll-fd-cancelled-threaded 818s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 818s ok 8 /cancellable/cancel-reset-races 818s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 818s ok 9 /cancellable/cancel-reset-connect-races 818s # End of cancellable tests 818s # Start of cancellable-source tests 818s # /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) 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 819s ok 10 /cancellable-source/threaded-dispose 819s # slow test /cancellable-source/threaded-dispose executed in 0.87 secs 819s # End of cancellable-source tests 819s ok - glib/cancellable.test 819s # Running test: glib/gnotification.test 819s TAP version 14 819s # random seed: R02S9b993156a5d15a92ad0e2941cdb427cb 819s 1..2 819s # Start of gnotification tests 819s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 819s ok 1 /gnotification/basic 819s ok 2 /gnotification/properties 819s # End of gnotification tests 819s ok - glib/gnotification.test 819s # Running test: glib/gdatetime.test 819s TAP version 14 819s # random seed: R02S9fd478641dff7a6908adc6523d8a498e 819s 1..68 819s # Start of GDateTime tests 819s # Bug Reference: http://bugzilla.gnome.org/702674 819s ok 1 /GDateTime/invalid 819s ok 2 /GDateTime/add_days 819s ok 3 /GDateTime/add_full 819s ok 4 /GDateTime/add_hours 819s ok 5 /GDateTime/add_minutes 819s ok 6 /GDateTime/add_months 819s ok 7 /GDateTime/add_seconds 819s ok 8 /GDateTime/add_weeks 819s ok 9 /GDateTime/add_years 819s ok 10 /GDateTime/compare 819s ok 11 /GDateTime/diff 819s ok 12 /GDateTime/equal 819s ok 13 /GDateTime/get_day_of_week 819s ok 14 /GDateTime/get_day_of_month 819s ok 15 /GDateTime/get_day_of_year 819s ok 16 /GDateTime/get_hour 819s ok 17 /GDateTime/get_microsecond 819s ok 18 /GDateTime/get_minute 819s ok 19 /GDateTime/get_month 819s ok 20 /GDateTime/get_second 819s ok 21 /GDateTime/get_utc_offset 819s ok 22 /GDateTime/get_year 819s ok 23 /GDateTime/hash 819s ok 24 /GDateTime/new_from_unix 819s ok 25 /GDateTime/new_from_unix_utc 819s ok 26 /GDateTime/new_from_timeval 819s ok 27 /GDateTime/new_from_timeval_utc 819s ok 28 /GDateTime/new_from_iso8601 819s ok 29 /GDateTime/new_full 819s ok 30 /GDateTime/now 819s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 819s ok 31 /GDateTime/test-6-days-until-end-of-the-month 819s # %a -> expected: Sat 819s # %a -> actual: Sat 819s # %A -> expected: Saturday 819s # %A -> actual: Saturday 819s # %b -> expected: Oct 819s # %b -> actual: Oct 819s # %B -> expected: October 819s # %B -> actual: October 819s # %d -> expected: 24 819s # %d -> actual: 24 819s # %d -> expected: 01 819s # %d -> actual: 01 819s # %e -> expected: 24 819s # %e -> actual: 24 819s # %e -> expected:  1 819s # %e -> actual:  1 819s # %f -> expected: 001000 819s # %f -> actual: 001000 819s # %h -> expected: Oct 819s # %h -> actual: Oct 819s # %H -> expected: 00 819s # %H -> actual: 00 819s # %H -> expected: 15 819s # %H -> actual: 15 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %I -> expected: 03 819s # %I -> actual: 03 819s # %j -> expected: 297 819s # %j -> actual: 297 819s # %k -> expected:  0 819s # %k -> actual:  0 819s # %k -> expected: 13 819s # %k -> actual: 13 819s # %l -> expected: 12 819s # %l -> actual: 12 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %l -> expected:  1 819s # %l -> actual:  1 819s # %l -> expected: 10 819s # %l -> actual: 10 819s # %m -> expected: 10 819s # %m -> actual: 10 819s # %M -> expected: 00 819s # %M -> actual: 00 819s # %p -> expected: AM 819s # %p -> actual: AM 819s # %p -> expected: PM 819s # %p -> actual: PM 819s # %P -> expected: am 819s # %P -> actual: am 819s # %P -> expected: pm 819s # %P -> actual: pm 819s # %r -> expected: 12:00:00 AM 819s # %r -> actual: 12:00:00 AM 819s # %r -> expected: 01:13:13 PM 819s # %r -> actual: 01:13:13 PM 819s # %R -> expected: 00:00 819s # %R -> actual: 00:00 819s # %R -> expected: 13:13 819s # %R -> actual: 13:13 819s # %S -> expected: 00 819s # %S -> actual: 00 819s # %t -> expected: 819s # %t -> actual: 819s # %u -> expected: 6 819s # %u -> actual: 6 819s # %x -> expected: 10/24/09 819s # %x -> actual: 10/24/09 819s # %X -> expected: 00:00:00 819s # %X -> actual: 00:00:00 819s # %X -> expected: 13:14:15 819s # %X -> actual: 13:14:15 819s # %y -> expected: 09 819s # %y -> actual: 09 819s # %Y -> expected: 2009 819s # %Y -> actual: 2009 819s # %% -> expected: % 819s # %% -> actual: % 819s # % -> expected: 819s # % -> actual: 819s # %9 -> expected: (null) 819s # %9 -> actual: (null) 819s # %Z -> expected: UTC 819s # %Z -> actual: UTC 819s ok 32 /GDateTime/printf 819s # %a -> expected: ÅÚ 819s # %a -> actual: ÅÚ 819s # %A -> expected: ÅÚÍËÆü 819s # %A -> actual: ÅÚÍËÆü 819s # %b -> expected: 10·î 819s # %b -> actual: 10·î 819s # %B -> expected: 10·î 819s # %B -> actual: 10·î 819s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 819s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 819s # %C -> expected: 20 819s # %C -> actual: 20 819s # %d -> expected: 24 819s # %d -> actual: 24 819s # %d -> expected: 01 819s # %d -> actual: 01 819s # %e -> expected: 24 819s # %e -> actual: 24 819s # %h -> expected: 10·î 819s # %h -> actual: 10·î 819s # %H -> expected: 00 819s # %H -> actual: 00 819s # %H -> expected: 15 819s # %H -> actual: 15 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %I -> expected: 03 819s # %I -> actual: 03 819s # %j -> expected: 297 819s # %j -> actual: 297 819s # %k -> expected: ?0 819s # %k -> actual: ?0 819s # %k -> expected: 13 819s # %k -> actual: 13 819s # %l -> expected: 12 819s # %l -> actual: 12 819s # %I -> expected: 12 819s # %I -> actual: 12 819s # %l -> expected: ?1 819s # %l -> actual: ?1 819s # %l -> expected: 10 819s # %l -> actual: 10 819s # %m -> expected: 10 819s # %m -> actual: 10 819s # %M -> expected: 00 819s # %M -> actual: 00 819s # %p -> expected: ¸áÁ° 819s # %p -> actual: ¸áÁ° 819s # %p -> expected: ¸á¸å 819s # %p -> actual: ¸á¸å 819s # %P -> expected: ¸áÁ° 819s # %P -> actual: ¸áÁ° 819s # %P -> expected: ¸á¸å 819s # %P -> actual: ¸á¸å 819s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 819s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 819s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 819s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 819s # %R -> expected: 00:00 819s # %R -> actual: 00:00 819s # %R -> expected: 13:13 819s # %R -> actual: 13:13 819s # %S -> expected: 00 819s # %S -> actual: 00 819s # %t -> expected: 819s # %t -> actual: 819s # %u -> expected: 6 819s # %u -> actual: 6 819s # %x -> expected: 2009ǯ10·î24Æü 819s # %x -> actual: 2009ǯ10·î24Æü 819s # %X -> expected: 00»þ00ʬ00Éà 819s # %X -> actual: 00»þ00ʬ00Éà 819s # %X -> expected: 13»þ14ʬ15Éà 819s # %X -> actual: 13»þ14ʬ15Éà 819s # %y -> expected: 09 819s # %y -> actual: 09 819s # %Y -> expected: 2009 819s # %Y -> actual: 2009 819s # %% -> expected: % 819s # %% -> actual: % 819s # % -> expected: 819s # % -> actual: 819s # %9 -> expected: (null) 819s # %9 -> actual: (null) 819s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 819s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 819s # %EC -> expected: Ê¿À® 819s # %EC -> actual: Ê¿À® 819s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 819s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 819s # %EX -> expected: 00»þ00ʬ00Éà 819s # %EX -> actual: 00»þ00ʬ00Éà 819s # %Ey -> expected: 21 819s # %Ey -> actual: 21 819s # %EY -> expected: Ê¿À®21ǯ 819s # %EY -> actual: Ê¿À®21ǯ 819s ok 33 /GDateTime/non_utf8_printf 819s # ???? -> expected: ???? 819s # ???? -> actual: ???? 819s # %H?%M -> expected: 23?15 819s # %H?%M -> actual: 23?15 819s # %H?%M -> expected: 23?15 819s # %H?%M -> actual: 23?15 819s ok 34 /GDateTime/format_unrepresentable 819s ok 35 /GDateTime/format_iso8601 820s ok 36 /GDateTime/strftime 820s # %d -> expected: 01 820s # %d -> actual: 01 820s # %_d -> expected: 1 820s # %_d -> actual: 1 820s # %-d -> expected: 1 820s # %-d -> actual: 1 820s # %0d -> expected: 01 820s # %0d -> actual: 01 820s # %d -> expected: 21 820s # %d -> actual: 21 820s # %_d -> expected: 21 820s # %_d -> actual: 21 820s # %-d -> expected: 21 820s # %-d -> actual: 21 820s # %0d -> expected: 21 820s # %0d -> actual: 21 820s # %e -> expected:  1 820s # %e -> actual:  1 820s # %_e -> expected: 1 820s # %_e -> actual: 1 820s # %-e -> expected: 1 820s # %-e -> actual: 1 820s # %0e -> expected: 01 820s # %0e -> actual: 01 820s # %e -> expected: 21 820s # %e -> actual: 21 820s # %_e -> expected: 21 820s # %_e -> actual: 21 820s # %-e -> expected: 21 820s # %-e -> actual: 21 820s # %0e -> expected: 21 820s # %0e -> actual: 21 820s # %a -> expected: Thu 820s # %a -> actual: Thu 820s # %^a -> expected: THU 820s # %^a -> actual: THU 820s # %#a -> expected: THU 820s # %#a -> actual: THU 820s # %A -> expected: Thursday 820s # %A -> actual: Thursday 820s # %^A -> expected: THURSDAY 820s # %^A -> actual: THURSDAY 820s # %#A -> expected: THURSDAY 820s # %#A -> actual: THURSDAY 820s # %b -> expected: Jan 820s # %b -> actual: Jan 820s # %^b -> expected: JAN 820s # %^b -> actual: JAN 820s # %#b -> expected: JAN 820s # %#b -> actual: JAN 820s # %B -> expected: January 820s # %B -> actual: January 820s # %^B -> expected: JANUARY 820s # %^B -> actual: JANUARY 820s # %#B -> expected: JANUARY 820s # %#B -> actual: JANUARY 820s # %h -> expected: Jan 820s # %h -> actual: Jan 820s # %^h -> expected: JAN 820s # %^h -> actual: JAN 820s # %#h -> expected: JAN 820s # %#h -> actual: JAN 820s # %Z -> expected: UTC 820s # %Z -> actual: UTC 820s # %^Z -> expected: UTC 820s # %^Z -> actual: UTC 820s # %#Z -> expected: utc 820s # %#Z -> actual: utc 820s # %H -> expected: 01 820s # %H -> actual: 01 820s # %_H -> expected: 1 820s # %_H -> actual: 1 820s # %-H -> expected: 1 820s # %-H -> actual: 1 820s # %0H -> expected: 01 820s # %0H -> actual: 01 820s # %H -> expected: 21 820s # %H -> actual: 21 820s # %_H -> expected: 21 820s # %_H -> actual: 21 820s # %-H -> expected: 21 820s # %-H -> actual: 21 820s # %0H -> expected: 21 820s # %0H -> actual: 21 820s # %I -> expected: 01 820s # %I -> actual: 01 820s # %_I -> expected: 1 820s # %_I -> actual: 1 820s # %-I -> expected: 1 820s # %-I -> actual: 1 820s # %0I -> expected: 01 820s # %0I -> actual: 01 820s # %I -> expected: 11 820s # %I -> actual: 11 820s # %_I -> expected: 11 820s # %_I -> actual: 11 820s # %-I -> expected: 11 820s # %-I -> actual: 11 820s # %0I -> expected: 11 820s # %0I -> actual: 11 820s # %k -> expected:  1 820s # %k -> actual:  1 820s # %_k -> expected: 1 820s # %_k -> actual: 1 820s # %-k -> expected: 1 820s # %-k -> actual: 1 820s # %0k -> expected: 01 820s # %0k -> actual: 01 820s # %l -> expected:  1 820s # %l -> actual:  1 820s # %_l -> expected: 1 820s # %_l -> actual: 1 820s # %-l -> expected: 1 820s # %-l -> actual: 1 820s # %0l -> expected: 01 820s # %0l -> actual: 01 820s # %l -> expected: 11 820s # %l -> actual: 11 820s # %_l -> expected: 11 820s # %_l -> actual: 11 820s # %-l -> expected: 11 820s # %-l -> actual: 11 820s # %0l -> expected: 11 820s # %0l -> actual: 11 820s # %p -> expected: AM 820s # %p -> actual: AM 820s # %^p -> expected: AM 820s # %^p -> actual: AM 820s # %#p -> expected: am 820s # %#p -> actual: am 820s # %P -> expected: am 820s # %P -> actual: am 820s # %^P -> expected: AM 820s # %^P -> actual: AM 820s # %#P -> expected: am 820s # %#P -> actual: am 820s # %OH -> expected: Û²Û³ 820s # %OH -> actual: Û²Û³ 820s # %OI -> expected: Û±Û± 820s # %OI -> actual: Û±Û± 820s # %OM -> expected: Û°Û° 820s # %OM -> actual: Û°Û° 820s # %Om -> expected: Û°Û· 820s # %Om -> actual: Û°Û· 820s # %0Om -> expected: Û°Û· 820s # %0Om -> actual: Û°Û· 820s # %-Om -> expected: Û· 820s # %-Om -> actual: Û· 820s # %_Om -> expected: Û· 820s # %_Om -> actual: Û· 820s # %c -> expected: thu 01 jan 2009 00:00:00 utc 820s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 820s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 820s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 820s # %C -> expected: 20 820s # %C -> actual: 20 820s # %EC -> expected: 20 820s # %EC -> actual: 20 820s # %x -> expected: 02/01/09 820s # %x -> actual: 02/01/09 820s # %Ex -> expected: 02/01/09 820s # %Ex -> actual: 02/01/09 820s # %X -> expected: 01:02:03 820s # %X -> actual: 01:02:03 820s # %EX -> expected: 01:02:03 820s # %EX -> actual: 01:02:03 820s # %y -> expected: 09 820s # %y -> actual: 09 820s # %Ey -> expected: 09 820s # %Ey -> actual: 09 820s # %Y -> expected: 2009 820s # %Y -> actual: 2009 820s # %EY -> expected: 2009 820s # %EY -> actual: 2009 820s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 820s # Bug Reference: http://bugzilla.gnome.org/749206 820s # %B -> expected: January 820s # %B -> actual: January 820s # %OB -> expected: February 820s # %OB -> actual: February 820s # %b -> expected: Mar 820s # %b -> actual: Mar 820s # %Ob -> expected: Apr 820s # %Ob -> actual: Apr 820s # %h -> expected: May 820s # %h -> actual: May 820s # %Oh -> expected: Jun 820s # %Oh -> actual: Jun 820s # %B -> expected: Juli 820s # %B -> actual: Juli 820s # %OB -> expected: August 820s # %OB -> actual: August 820s # %b -> expected: Sep 820s # %b -> actual: Sep 820s # %Ob -> expected: Okt 820s # %Ob -> actual: Okt 820s # %h -> expected: Nov 820s # %h -> actual: Nov 820s # %Oh -> expected: Dez 820s # %Oh -> actual: Dez 820s # %B -> expected: enero 820s # %B -> actual: enero 820s # %OB -> expected: febrero 820s # %OB -> actual: febrero 820s # %b -> expected: mar 820s # %b -> actual: mar 820s # %Ob -> expected: abr 820s # %Ob -> actual: abr 820s # %h -> expected: may 820s # %h -> actual: may 820s # %Oh -> expected: jun 820s # %Oh -> actual: jun 820s # %B -> expected: juillet 820s # %B -> actual: juillet 820s # %OB -> expected: août 820s # %OB -> actual: août 820s # %b -> expected: sept. 820s # %b -> actual: sept. 820s # %Ob -> expected: oct. 820s # %Ob -> actual: oct. 820s # %h -> expected: nov. 820s # %h -> actual: nov. 820s # %Oh -> expected: déc. 820s # %Oh -> actual: déc. 820s # %B -> expected: ΙανουαÏίου 820s # %B -> actual: ΙανουαÏίου 820s # %B -> expected: ΦεβÏουαÏίου 820s # %B -> actual: ΦεβÏουαÏίου 820s # %B -> expected: ΜαÏτίου 820s # %B -> actual: ΜαÏτίου 820s # %OB -> expected: ΑπÏίλιος 820s # %OB -> actual: ΑπÏίλιος 820s # %OB -> expected: Μάιος 820s # %OB -> actual: Μάιος 820s # %OB -> expected: ΙοÏνιος 820s # %OB -> actual: ΙοÏνιος 820s # %b -> expected: Ιουλ 820s # %b -> actual: Ιουλ 820s # %Ob -> expected: ΑÏγ 820s # %Ob -> actual: ΑÏγ 820s # %B -> expected: svibnja 820s # %B -> actual: svibnja 820s # %B -> expected: lipnja 820s # %B -> actual: lipnja 820s # %B -> expected: srpnja 820s # %B -> actual: srpnja 820s # %OB -> expected: Kolovoz 820s # %OB -> actual: kolovoz 820s # %OB -> expected: Rujan 820s # %OB -> actual: rujan 820s # %OB -> expected: Listopad 820s # %OB -> actual: listopad 820s # %b -> expected: Stu 820s # %b -> actual: stu 820s # %Ob -> expected: Pro 820s # %Ob -> actual: pro 820s # %B -> expected: sausio 820s # %B -> actual: sausio 820s # %B -> expected: vasario 820s # %B -> actual: vasario 820s # %B -> expected: kovo 820s # %B -> actual: kovo 820s # %OB -> expected: balandis 820s # %OB -> actual: balandis 820s # %OB -> expected: gegužė 820s # %OB -> actual: gegužė 820s # %OB -> expected: birželis 820s # %OB -> actual: birželis 820s # %b -> expected: liep. 820s # %b -> actual: liep. 820s # %Ob -> expected: rugp. 820s # %Ob -> actual: rugp. 820s # %B -> expected: maja 820s # %B -> actual: maja 820s # %B -> expected: czerwca 820s # %B -> actual: czerwca 820s # %B -> expected: lipca 820s # %B -> actual: lipca 820s # %OB -> expected: sierpieÅ„ 820s # %OB -> actual: sierpieÅ„ 820s # %OB -> expected: wrzesieÅ„ 820s # %OB -> actual: wrzesieÅ„ 820s # %OB -> expected: październik 820s # %OB -> actual: październik 820s # %b -> expected: lis 820s # %b -> actual: lis 820s # %Ob -> expected: gru 820s # %Ob -> actual: gru 820s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 820s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 820s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 820s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 820s # %B -> expected: марта 820s # %B -> actual: марта 820s # %OB -> expected: Ðпрель 820s # %OB -> actual: Ðпрель 820s # %OB -> expected: Май 820s # %OB -> actual: Май 820s # %OB -> expected: Июнь 820s # %OB -> actual: Июнь 820s # %b -> expected: июл 820s # %b -> actual: июл 820s # %Ob -> expected: авг 820s # %Ob -> actual: авг 820s # %b -> expected: Ð¼Ð°Ñ 820s # %b -> actual: Ð¼Ð°Ñ 820s # %Ob -> expected: май 820s # %Ob -> actual: май 820s ok 38 /GDateTime/month_names 820s ok 39 /GDateTime/to_local 820s ok 40 /GDateTime/to_unix 820s ok 41 /GDateTime/to_timeval 820s ok 42 /GDateTime/to_utc 820s ok 43 /GDateTime/now_utc 820s ok 44 /GDateTime/dst 820s # Bug Reference: http://bugzilla.gnome.org/642935 820s ok 45 /GDateTime/test_z 821s ok 46 /GDateTime/test-all-dates 821s # slow test /GDateTime/test-all-dates executed in 1.66 secs 821s ok 47 /GDateTime/unix_usec 821s # Start of new_from_unix tests 821s # Bug Reference: http://bugzilla.gnome.org/782089 821s ok 48 /GDateTime/new_from_unix/overflow 821s # End of new_from_unix tests 821s # Start of new_from_timeval tests 821s # Bug Reference: http://bugzilla.gnome.org/782089 821s # Maximum supported GTimeVal.tv_sec = 2147483647 821s ok 49 /GDateTime/new_from_timeval/overflow 821s # End of new_from_timeval tests 821s # Start of new_from_iso8601 tests 821s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 821s # Vector 0: 1990-11-01T10:21:17Z 821s # Vector 1: 19901101T102117Z 821s # Vector 2: 1970-01-01T00:00:17.12Z 821s # Vector 3: 1970-01-01T00:00:17.1234Z 821s # Vector 4: 1970-01-01T00:00:17.123456Z 821s # Vector 5: 1980-02-22T12:36:00+02:00 821s # Vector 6: 1990-12-31T15:59:60-08:00 821s # Vector 7: 821s # Vector 8: x 821s # Vector 9: 123x 821s # Vector 10: 2001-10+x 821s # Vector 11: 1980-02-22T 821s # Vector 12: 2001-10-08Tx 821s # Vector 13: 2001-10-08T10:11x 821s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 821s # Vector 15: 1980-02-22T10:36:00Zulu 821s # Vector 16: 2T0+819855292164632335 821s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 821s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 821s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 821s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 821s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 821s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 821s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 821s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 821s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 821s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 821s # Vector 27: 20180803T140805.446178377+0100 821s # Vector 28: 21474836480803T140805.446178377+0100 821s # Vector 29: 20181303T140805.446178377+0100 821s # Vector 30: 20180003T140805.446178377+0100 821s # Vector 31: 20180800T140805.446178377+0100 821s # Vector 32: 20180832T140805.446178377+0100 821s # Vector 33: 20180803T240805.446178377+0100 821s # Vector 34: 20180803T146005.446178377+0100 821s # Vector 35: 20180803T140863.446178377+0100 821s # Vector 36: 20180803T140805.446178377+10000 821s # Vector 37: -0005-01-01T00:00:00Z 821s # Vector 38: 2018-08-06 821s # Vector 39: 20180803T140805,446178377+0100 821s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 821s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 821s # Vector 42: 1990-11-01T10:21:17 821s # Vector 43: 1719W462 407777-07 821s # Vector 44: 4011090 260528Z 821s # Vector 45: 0000W011 228214-22 821s ok 50 /GDateTime/new_from_iso8601/2 821s # End of new_from_iso8601 tests 821s # Start of format_mixed tests 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 821s # %b -> expected: mar 821s # %b -> actual: Mar 821s # %B -> expected: march 821s # %B -> actual: March 821s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 821s # %b -> expected: mar 821s # %b -> actual: Mar 821s # %B -> expected: march 821s # %B -> actual: March 821s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 821s # %b -> expected: Mär 821s # %b -> actual: Mär 821s # %B -> expected: März 821s # %B -> actual: März 821s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 821s # %b -> expected: Mär 821s # %b -> actual: Mär 821s # %B -> expected: März 821s # %B -> actual: März 821s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 821s # End of format_mixed tests 821s # Start of strftime tests 821s # %r -> expected: (null) 821s # %r -> actual: (null) 821s ok 55 /GDateTime/strftime/error_handling 821s # End of strftime tests 821s # Start of eras tests 821s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 821s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 821s # %EC -> expected: 令和 821s # %EC -> actual: 令和 821s # %Ex -> expected: 令和05å¹´06月01æ—¥ 821s # %Ex -> actual: 令和05å¹´06月01æ—¥ 821s # %EX -> expected: 00時00分00秒 821s # %EX -> actual: 00時00分00秒 821s # %Ey -> expected: 05 821s # %Ey -> actual: 05 821s # %EY -> expected: 令和05å¹´ 821s # %EY -> actual: 令和05å¹´ 821s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 821s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 821s # %EC -> expected: å¹³æˆ 821s # %EC -> actual: å¹³æˆ 821s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 821s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 821s # %EX -> expected: 00時00分00秒 821s # %EX -> actual: 00時00分00秒 821s # %Ey -> expected: 31 821s # %Ey -> actual: 31 821s # %EY -> expected: å¹³æˆ31å¹´ 821s # %EY -> actual: å¹³æˆ31å¹´ 821s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 821s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 821s # %EC -> expected: 昭和 821s # %EC -> actual: 昭和 821s # %Ex -> expected: 昭和元年12月25æ—¥ 821s # %Ex -> actual: 昭和元年12月25æ—¥ 821s # %EX -> expected: 00時00分00秒 821s # %EX -> actual: 00時00分00秒 821s # %Ey -> expected: 01 821s # %Ey -> actual: 01 821s # %EY -> expected: 昭和元年 821s # %EY -> actual: 昭和元年 821s ok 56 /GDateTime/eras/japan 821s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 821s # Vector 0: 821s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 821s # 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å¹´ 821s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 821s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 821s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 8: + 821s # Vector 9: +: 821s # Vector 10: +:: 821s # Vector 11: +:200 821s # Vector 12: +:2nonsense 821s # Vector 13: +:2nonsense: 821s # Vector 14: +:2: 821s # Vector 15: +:2:: 821s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 821s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 821s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 821s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 821s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 821s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 821s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 821s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 821s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 821s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 821s # Vector 28: +:2:2020/01/01 821s # Vector 29: +:2:2020/01/01: 821s # Vector 30: +:2:2020/01/01:: 821s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 821s # Vector 32: +:2:2020/01/01:+* 821s # Vector 33: +:2:2020/01/01:+*: 821s # Vector 34: +:2:2020/01/01:+*:: 821s # Vector 35: +:2:2020/01/01:+*:令和 821s # Vector 36: +:2:2020/01/01:+*:令和: 821s # Vector 37: +:2:2020/01/01:+*:令和:; 821s ok 58 /GDateTime/eras/parsing 821s # End of eras tests 821s # End of GDateTime tests 821s # Start of GTimeZone tests 821s ok 59 /GTimeZone/find-interval 821s ok 60 /GTimeZone/adjust-time 821s ok 61 /GTimeZone/no-header 821s ok 62 /GTimeZone/no-header-identifier 821s ok 63 /GTimeZone/posix-parse 821s # Bug Reference: http://bugzilla.gnome.org/697715 821s ok 64 /GTimeZone/floating-point 821s # System time zone identifier: Etc/UTC 821s ok 65 /GTimeZone/identifier 821s # Vector 0: -158400 821s # Vector 1: -10000 821s # Vector 2: -3600 821s # Vector 3: -61 821s # Vector 4: -60 821s # Vector 5: -59 821s # Vector 6: 0 821s # Vector 7: 59 821s # Vector 8: 60 821s # Vector 9: 61 821s # Vector 10: 3600 821s # Vector 11: 10000 821s # Vector 12: 158400 821s ok 66 /GTimeZone/new-offset 821s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 821s ok 67 /GTimeZone/parse-rfc8536 821s # /GTimeZone/caching summary: GTimeZone instances are cached 821s ok 68 /GTimeZone/caching 821s # End of GTimeZone tests 821s ok - glib/gdatetime.test 821s # Running test: glib/readwrite.test 821s TAP version 14 821s # random seed: R02S157859533eac26268e108ae2ea530f8d 821s 1..3 821s # Start of readwrite tests 821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 821s ok 1 /readwrite/test_g_file_open_readwrite 821s ok 2 /readwrite/test_g_file_create_readwrite 821s ok 3 /readwrite/test_g_file_replace_readwrite 821s # End of readwrite tests 821s ok - glib/readwrite.test 821s # Running test: glib/utf8-validate.test 821s TAP version 14 821s # random seed: R02Sfc5996e1d87eb1f1065308a7ba918aeb 821s 1..216 821s # Start of utf8 tests 821s # Vector 0 821s # Vector 1 821s # Vector 2 821s # Vector 3 821s # Vector 4 821s # Vector 5 821s # Vector 6 821s # Vector 7 821s # Vector 8 821s # Vector 9 821s # Vector 10 821s # Vector 11 821s # Vector 12 821s # Vector 13 821s # Vector 14 821s # Vector 15 821s # Vector 16 821s # Vector 17 821s # Vector 18 821s # Vector 19 821s # Vector 20 821s # Vector 21 821s # Vector 22 821s # Vector 23 821s # Vector 24 821s # Vector 25 821s # Vector 26 821s # Vector 27 821s ok 1 /utf8/get-char-validated 821s # Start of validate tests 821s ok 2 /utf8/validate/0 821s ok 3 /utf8/validate/1 821s ok 4 /utf8/validate/2 821s ok 5 /utf8/validate/3 821s ok 6 /utf8/validate/4 821s ok 7 /utf8/validate/5 821s ok 8 /utf8/validate/6 821s ok 9 /utf8/validate/7 821s ok 10 /utf8/validate/8 821s ok 11 /utf8/validate/9 821s ok 12 /utf8/validate/10 821s ok 13 /utf8/validate/11 821s ok 14 /utf8/validate/12 821s ok 15 /utf8/validate/13 821s ok 16 /utf8/validate/14 821s ok 17 /utf8/validate/15 821s ok 18 /utf8/validate/16 821s ok 19 /utf8/validate/17 821s ok 20 /utf8/validate/18 821s ok 21 /utf8/validate/19 821s ok 22 /utf8/validate/20 821s ok 23 /utf8/validate/21 821s ok 24 /utf8/validate/22 821s ok 25 /utf8/validate/23 821s ok 26 /utf8/validate/24 821s ok 27 /utf8/validate/25 821s ok 28 /utf8/validate/26 821s ok 29 /utf8/validate/27 821s ok 30 /utf8/validate/28 821s ok 31 /utf8/validate/29 821s ok 32 /utf8/validate/30 821s ok 33 /utf8/validate/31 821s ok 34 /utf8/validate/32 821s ok 35 /utf8/validate/33 821s ok 36 /utf8/validate/34 821s ok 37 /utf8/validate/35 821s ok 38 /utf8/validate/36 821s ok 39 /utf8/validate/37 821s ok 40 /utf8/validate/38 821s ok 41 /utf8/validate/39 821s ok 42 /utf8/validate/40 821s ok 43 /utf8/validate/41 821s ok 44 /utf8/validate/42 821s ok 45 /utf8/validate/43 821s ok 46 /utf8/validate/44 821s ok 47 /utf8/validate/45 821s ok 48 /utf8/validate/46 821s ok 49 /utf8/validate/47 821s ok 50 /utf8/validate/48 821s ok 51 /utf8/validate/49 821s ok 52 /utf8/validate/50 821s ok 53 /utf8/validate/51 821s ok 54 /utf8/validate/52 821s ok 55 /utf8/validate/53 821s ok 56 /utf8/validate/54 821s ok 57 /utf8/validate/55 821s ok 58 /utf8/validate/56 821s ok 59 /utf8/validate/57 821s ok 60 /utf8/validate/58 821s ok 61 /utf8/validate/59 821s ok 62 /utf8/validate/60 821s ok 63 /utf8/validate/61 821s ok 64 /utf8/validate/62 821s ok 65 /utf8/validate/63 821s ok 66 /utf8/validate/64 821s ok 67 /utf8/validate/65 821s ok 68 /utf8/validate/66 821s ok 69 /utf8/validate/67 821s ok 70 /utf8/validate/68 821s ok 71 /utf8/validate/69 821s ok 72 /utf8/validate/70 821s ok 73 /utf8/validate/71 821s ok 74 /utf8/validate/72 821s ok 75 /utf8/validate/73 821s ok 76 /utf8/validate/74 821s ok 77 /utf8/validate/75 821s ok 78 /utf8/validate/76 821s ok 79 /utf8/validate/77 821s ok 80 /utf8/validate/78 821s ok 81 /utf8/validate/79 821s ok 82 /utf8/validate/80 821s ok 83 /utf8/validate/81 821s ok 84 /utf8/validate/82 821s ok 85 /utf8/validate/83 821s ok 86 /utf8/validate/84 821s ok 87 /utf8/validate/85 821s ok 88 /utf8/validate/86 821s ok 89 /utf8/validate/87 821s ok 90 /utf8/validate/88 821s ok 91 /utf8/validate/89 821s ok 92 /utf8/validate/90 821s ok 93 /utf8/validate/91 821s ok 94 /utf8/validate/92 821s ok 95 /utf8/validate/93 821s ok 96 /utf8/validate/94 821s ok 97 /utf8/validate/95 821s ok 98 /utf8/validate/96 821s ok 99 /utf8/validate/97 821s ok 100 /utf8/validate/98 821s ok 101 /utf8/validate/99 821s ok 102 /utf8/validate/100 821s ok 103 /utf8/validate/101 821s ok 104 /utf8/validate/102 821s ok 105 /utf8/validate/103 821s ok 106 /utf8/validate/104 821s ok 107 /utf8/validate/105 821s ok 108 /utf8/validate/106 821s ok 109 /utf8/validate/107 821s ok 110 /utf8/validate/108 821s ok 111 /utf8/validate/109 821s ok 112 /utf8/validate/110 821s ok 113 /utf8/validate/111 821s ok 114 /utf8/validate/112 821s ok 115 /utf8/validate/113 821s ok 116 /utf8/validate/114 821s ok 117 /utf8/validate/115 821s ok 118 /utf8/validate/116 821s ok 119 /utf8/validate/117 821s ok 120 /utf8/validate/118 821s ok 121 /utf8/validate/119 821s ok 122 /utf8/validate/120 821s ok 123 /utf8/validate/121 821s ok 124 /utf8/validate/122 821s ok 125 /utf8/validate/123 821s ok 126 /utf8/validate/124 821s ok 127 /utf8/validate/125 821s ok 128 /utf8/validate/126 821s ok 129 /utf8/validate/127 821s ok 130 /utf8/validate/128 821s ok 131 /utf8/validate/129 821s ok 132 /utf8/validate/130 821s ok 133 /utf8/validate/131 821s ok 134 /utf8/validate/132 821s ok 135 /utf8/validate/133 821s ok 136 /utf8/validate/134 821s ok 137 /utf8/validate/135 821s ok 138 /utf8/validate/136 821s ok 139 /utf8/validate/137 821s ok 140 /utf8/validate/138 821s ok 141 /utf8/validate/139 821s ok 142 /utf8/validate/140 821s ok 143 /utf8/validate/141 821s ok 144 /utf8/validate/142 821s ok 145 /utf8/validate/143 821s ok 146 /utf8/validate/144 821s ok 147 /utf8/validate/145 821s ok 148 /utf8/validate/146 821s ok 149 /utf8/validate/147 821s ok 150 /utf8/validate/148 821s ok 151 /utf8/validate/149 821s ok 152 /utf8/validate/150 821s ok 153 /utf8/validate/151 821s ok 154 /utf8/validate/152 821s ok 155 /utf8/validate/153 821s ok 156 /utf8/validate/154 821s ok 157 /utf8/validate/155 821s ok 158 /utf8/validate/156 821s ok 159 /utf8/validate/157 821s ok 160 /utf8/validate/158 821s ok 161 /utf8/validate/159 821s ok 162 /utf8/validate/160 821s ok 163 /utf8/validate/161 821s ok 164 /utf8/validate/162 821s ok 165 /utf8/validate/163 821s ok 166 /utf8/validate/164 821s ok 167 /utf8/validate/165 821s ok 168 /utf8/validate/166 821s ok 169 /utf8/validate/167 821s ok 170 /utf8/validate/168 821s ok 171 /utf8/validate/169 821s ok 172 /utf8/validate/170 821s ok 173 /utf8/validate/171 821s ok 174 /utf8/validate/172 821s ok 175 /utf8/validate/173 821s ok 176 /utf8/validate/174 821s ok 177 /utf8/validate/175 821s ok 178 /utf8/validate/176 821s ok 179 /utf8/validate/177 821s ok 180 /utf8/validate/178 821s ok 181 /utf8/validate/179 821s ok 182 /utf8/validate/180 821s ok 183 /utf8/validate/181 821s ok 184 /utf8/validate/182 821s ok 185 /utf8/validate/183 821s ok 186 /utf8/validate/184 821s ok 187 /utf8/validate/185 821s ok 188 /utf8/validate/186 821s ok 189 /utf8/validate/187 821s ok 190 /utf8/validate/188 821s ok 191 /utf8/validate/189 821s ok 192 /utf8/validate/190 821s ok 193 /utf8/validate/191 821s ok 194 /utf8/validate/192 821s ok 195 /utf8/validate/193 821s ok 196 /utf8/validate/194 821s ok 197 /utf8/validate/195 821s ok 198 /utf8/validate/196 821s ok 199 /utf8/validate/197 821s ok 200 /utf8/validate/198 821s ok 201 /utf8/validate/199 821s ok 202 /utf8/validate/200 821s ok 203 /utf8/validate/201 821s ok 204 /utf8/validate/202 821s ok 205 /utf8/validate/203 821s ok 206 /utf8/validate/204 821s ok 207 /utf8/validate/205 821s ok 208 /utf8/validate/206 821s ok 209 /utf8/validate/207 821s ok 210 /utf8/validate/208 821s ok 211 /utf8/validate/209 821s ok 212 /utf8/validate/210 821s ok 213 /utf8/validate/211 821s ok 214 /utf8/validate/212 821s ok 215 /utf8/validate/213 821s ok 216 /utf8/validate/214 821s # End of validate tests 821s # End of utf8 tests 821s ok - glib/utf8-validate.test 821s # Running test: glib/param.test 821s TAP version 14 821s # random seed: R02S3fbd2b6752317d0fab10c047ce211701 821s 1..32 821s # Start of param tests 821s ok 1 /param/value 821s ok 2 /param/strings 821s ok 3 /param/qdata 821s ok 4 /param/validate 821s ok 5 /param/convert 821s ok 6 /param/implement # SKIP Skipping slow /param/implement test 821s ok 7 /param/default 821s ok 8 /param/is-valid-name 821s # Start of invalid-name tests 821s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 821s ok 9 /param/invalid-name/colon 821s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 821s ok 10 /param/invalid-name/first-char 821s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 821s ok 11 /param/invalid-name/empty 821s # End of invalid-name tests 821s # Start of implement tests 821s # Start of subprocess tests 821s # End of subprocess tests 821s # End of implement tests 821s # End of param tests 821s # Start of value tests 821s ok 12 /value/transform 821s # End of value tests 821s # Start of paramspec tests 821s ok 13 /paramspec/char 821s ok 14 /paramspec/uchar 821s ok 15 /paramspec/int 821s ok 16 /paramspec/uint 821s ok 17 /paramspec/long 821s ok 18 /paramspec/ulong 821s ok 19 /paramspec/int64 821s ok 20 /paramspec/uint64 821s ok 21 /paramspec/float 821s ok 22 /paramspec/double 821s ok 23 /paramspec/unichar 821s ok 24 /paramspec/param 821s ok 25 /paramspec/null-param 821s ok 26 /paramspec/string 821s ok 27 /paramspec/override 821s ok 28 /paramspec/gtype 821s ok 29 /paramspec/variant 821s ok 30 /paramspec/custom 821s ok 31 /paramspec/pool 821s # Start of variant tests 821s ok 32 /paramspec/variant/cmp 821s # End of variant tests 821s # End of paramspec tests 821s ok - glib/param.test 821s # Running test: glib/uri.test 821s TAP version 14 821s # random seed: R02Sab65aaf0eea7a27320494d5d77e4db14 821s 1..24 821s # Start of uri tests 821s ok 1 /uri/file-to-uri 821s ok 2 /uri/file-from-uri 821s ok 3 /uri/file-roundtrip 821s ok 4 /uri/list 821s # Test 0: %2Babc %4F 821s # Test 1: %2Babc %4F 821s # Test 2: %00abc %4F 821s # Test 3: /cursors/none.png 821s # Test 4: /cursors%2fbad-subdir/none.png 821s # Test 5: %0 821s # Test 6: %ra 821s # Test 7: %2r 821s # Test 8: Timm B?der 821s # Test 9: (null) 821s ok 5 /uri/unescape-string 821s ok 6 /uri/unescape-segment 821s # Test 0: abcdefgABCDEFG._~ 821s # Test 1: :+ \\?# 821s # Test 2: a+b:c 821s # Test 3: a+b:c\303\234 821s # Test 4: \374;\322 821s # Test 5: \303\261\303( 821s ok 7 /uri/escape-string 821s ok 8 /uri/escape-bytes 821s ok 9 /uri/scheme 821s ok 10 /uri/build 821s ok 11 /uri/split 821s ok 12 /uri/is_valid 821s ok 13 /uri/to-string 821s ok 14 /uri/join 821s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 821s # Combination 0 821s # Combination 1 821s # Combination 2 821s # Combination 3 821s # Combination 4 821s # Combination 5 821s # Combination 6 821s # Combination 7 821s # Combination 8 821s # Combination 9 821s # Combination 10 821s # Combination 11 821s # Combination 12 821s # Combination 13 821s # Combination 14 821s # Combination 15 821s # Combination 16 821s # Combination 17 821s # Combination 18 821s # Combination 19 821s # Combination 20 821s # Combination 21 821s # Combination 22 821s # Combination 23 821s # Combination 24 821s # Combination 25 821s # Combination 26 821s # Combination 27 821s # Combination 28 821s # Combination 29 821s # Combination 30 821s # Combination 31 821s # Combination 32 821s # Combination 33 821s # Combination 34 821s # Combination 35 821s # Combination 36 821s # Combination 37 821s # Combination 38 821s # Combination 39 821s # Combination 40 821s # Combination 41 821s # Combination 42 821s # Combination 43 821s # Combination 44 821s # Combination 45 821s # Combination 46 821s # Combination 47 821s # Combination 48 821s # Combination 49 821s # Combination 50 821s # Combination 51 821s # Combination 52 821s # Combination 53 821s # Combination 54 821s # Combination 55 821s # Combination 56 821s # Combination 57 821s # Combination 58 821s # Combination 59 821s # Combination 60 821s # Combination 61 821s # Combination 62 821s # Combination 63 821s # Combination 64 821s # Combination 65 821s # Combination 66 821s # Combination 67 821s # Combination 68 821s # Combination 69 821s # Combination 70 821s # Combination 71 821s # Combination 72 821s # Combination 73 821s # Combination 74 821s # Combination 75 821s # Combination 76 821s # Combination 77 821s # Combination 78 821s # Combination 79 821s # Combination 80 821s # Combination 81 821s # Combination 82 821s # Combination 83 821s # Combination 84 821s # Combination 85 821s # Combination 86 821s # Combination 87 821s # Combination 88 821s # Combination 89 821s # Combination 90 821s # Combination 91 821s # Combination 92 821s # Combination 93 821s # Combination 94 821s # Combination 95 821s # Combination 96 821s # Combination 97 821s # Combination 98 821s # Combination 99 821s # Combination 100 821s # Combination 101 821s # Combination 102 821s # Combination 103 821s # Combination 104 821s # Combination 105 821s # Combination 106 821s # Combination 107 821s # Combination 108 821s # Combination 109 821s # Combination 110 821s # Combination 111 821s # Combination 112 821s # Combination 113 821s # Combination 114 821s # Combination 115 821s # Combination 116 821s # Combination 117 821s # Combination 118 821s # Combination 119 821s # Combination 120 821s # Combination 121 821s # Combination 122 821s # Combination 123 821s # Combination 124 821s # Combination 125 821s # Combination 126 821s # Combination 127 821s # Combination 128 821s # Combination 129 821s # Combination 130 821s # Combination 131 821s # Combination 132 821s # Combination 133 821s # Combination 134 821s # Combination 135 821s # Combination 136 821s # Combination 137 821s # Combination 138 821s # Combination 139 821s # Combination 140 821s # Combination 141 821s # Combination 142 821s # Combination 143 821s # Combination 144 821s # Combination 145 821s # Combination 146 821s # Combination 147 821s # Combination 148 821s # Combination 149 821s # Combination 150 821s # Combination 151 821s # Combination 152 821s # Combination 153 821s # Combination 154 821s # Combination 155 821s # Combination 156 821s # Combination 157 821s # Combination 158 821s # Combination 159 821s # Combination 160 821s # Combination 161 821s # Combination 162 821s # Combination 163 821s # Combination 164 821s # Combination 165 821s # Combination 166 821s # Combination 167 821s # Combination 168 821s # Combination 169 821s # Combination 170 821s # Combination 171 821s # Combination 172 821s # Combination 173 821s # Combination 174 821s # Combination 175 821s # Combination 176 821s # Combination 177 821s # Combination 178 821s # Combination 179 821s # Combination 180 821s # Combination 181 821s # Combination 182 821s # Combination 183 821s # Combination 184 821s # Combination 185 821s # Combination 186 821s # Combination 187 821s # Combination 188 821s # Combination 189 821s # Combination 190 821s # Combination 191 821s # Combination 192 821s # Combination 193 821s # Combination 194 821s # Combination 195 821s # Combination 196 821s # Combination 197 821s # Combination 198 821s # Combination 199 821s # Combination 200 821s # Combination 201 821s # Combination 202 821s # Combination 203 821s # Combination 204 821s # Combination 205 821s # Combination 206 821s # Combination 207 821s # Combination 208 821s # Combination 209 821s # Combination 210 821s # Combination 211 821s # Combination 212 821s # Combination 213 821s # Combination 214 821s # Combination 215 821s # Combination 216 821s # Combination 217 821s # Combination 218 821s # Combination 219 821s # Combination 220 821s # Combination 221 821s # Combination 222 821s # Combination 223 821s # Combination 224 821s # Combination 225 821s # Combination 226 821s # Combination 227 821s # Combination 228 821s # Combination 229 821s # Combination 230 821s # Combination 231 821s # Combination 232 821s # Combination 233 821s # Combination 234 821s # Combination 235 821s # Combination 236 821s # Combination 237 821s # Combination 238 821s # Combination 239 821s # Combination 240 821s # Combination 241 821s # Combination 242 821s # Combination 243 821s # Combination 244 821s # Combination 245 821s # Combination 246 821s # Combination 247 821s # Combination 248 821s # Combination 249 821s # Combination 250 821s # Combination 251 821s # Combination 252 821s # Combination 253 821s # Combination 254 821s # Combination 255 821s ok 15 /uri/join-split-round-trip 821s ok 16 /uri/normalize 821s # Start of unescape-bytes tests 821s # Test 0: %00%00 821s # Test 1: /cursors/none.png 821s # Test 2: /cursors%2fbad-subdir/none.png 821s # Test 3: %% 821s # Test 4: % 821s ok 17 /uri/unescape-bytes/nul-terminated 821s # Test 0: %00%00 821s # Test 1: /cursors/none.png 821s # Test 2: /cursors%2fbad-subdir/none.png 821s # Test 3: %% 821s # Test 4: % 821s ok 18 /uri/unescape-bytes/length 821s # End of unescape-bytes tests 821s # Start of parsing tests 821s # Test 0: foo: 821s # Test 1: file:/dev/null 821s # Test 2: file:///dev/null 821s # Test 3: ftp://user@host/path 821s # Test 4: ftp://user@host:9999/path 821s # Test 5: ftp://user:password@host/path 821s # Test 6: ftp://user:password@host:9999/path 821s # Test 7: ftp://user:password@host 821s # Test 8: http://us%65r@host 821s # Test 9: http://us%40r@host 821s # Test 10: http://us%3ar@host 821s # Test 11: http://us%2fr@host 821s # Test 12: http://us%3fr@host 821s # Test 13: http://host?query 821s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 821s # 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 821s # Test 16: http://space/%20 821s # Test 17: http://delims/%3C%3E%23%25%22 821s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 821s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 821s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 821s # Test 21: http://[3ffe:2a00:100:7031::1] 821s # Test 22: http://[1080::8:800:200C:417A]/foo 821s # Test 23: http://[::192.9.5.5]/ipng 821s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 821s # Test 25: http://[2010:836B:4179::836B:4179] 821s # Test 26: http://host/path with spaces 821s # Test 27: http://host/path 821s # Test 28: http://host/path 821s # Test 29: http://host 821s # Test 30: http://host:999 821s # Test 31: http://host/pa 821s # th 821s # Test 32: http: 821s # //host/path 821s # Test 33: http:// host/path 821s # Test 34: http://host/path? 821s # Test 35: http://host/path# 821s # Test 36: http://host/path% 821s # Test 37: http://h%ost/path 821s # Test 38: http://host/path%% 821s # Test 39: http://host/path%%% 821s # Test 40: http://host/path%/x/ 821s # Test 41: http://host/path%0x/ 821s # Test 42: http://host/path%ax 821s # Test 43: http://host/p?th/ 821s # Test 44: HTTP://////////////// 821s # Test 45: http://@host 821s # Test 46: http://:@host 821s # Test 47: scheme://foo%3Abar._webdav._tcp.local 821s # Test 48: http://example.com/.. 821s # Test 49: foo0://host/path 821s # Test 50: f0.o://host/path 821s # Test 51: http++://host/path 821s # Test 52: http-ish://host/path 821s # Test 53: http://[fe80::dead:beef%]/ 821s # Test 54: http://[fe80::dead:beef%em1]/ 821s # Test 55: http://[fe80::dead:beef%em1]/ 821s # Test 56: http://[fe80::dead:beef%25em1]/ 821s # Test 57: http://[fe80::dead:beef%25em1%20]/ 821s # Test 58: http://[fe80::dead:beef%25em%31]/ 821s # Test 59: http://[fe80::dead:beef%10]/ 821s # Test 60: http://[fe80::dead:beef%10]/ 821s # Test 61: http://[fe80::dead:beef%25]/ 821s # Test 62: http://[fe80::dead:beef%25]/ 821s # Test 63: http://[192.168.0.1%25em1]/ 821s # Test 64: http://[fe80::dead:beef%2em1]/ 821s # Test 65: http://[fe80::dead:beef%2em1]/ 821s # Test 66: http://[fe80::dead:beef%25em1%00]/ 821s # Test 67: http://[fe80::dead:beef%25em1%00]/ 821s # Test 68: http://xn--mixed-?p/ 821s ok 19 /uri/parsing/absolute 821s ok 20 /uri/parsing/relative 821s # End of parsing tests 821s # Start of iter-params tests 821s # URI 0: p1=foo&p2=bar;p3=baz 821s # URI 1: p1=foo&p2=bar 821s # URI 2: p1=foo&&P1=bar 821s # URI 3: %00=foo 821s # URI 4: p1=%00 821s # URI 5: p1=foo&p1=bar 821s # URI 6: p1=foo&P1=bar 821s # URI 7: =% 821s # URI 8: = 821s # URI 9: foo 821s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 821s ok 21 /uri/iter-params/nul-terminated 821s # URI 0: p1=foo&p2=bar;p3=baz 821s # URI 1: p1=foo&p2=bar 821s # URI 2: p1=foo&&P1=bar 821s # URI 3: %00=foo 821s # URI 4: p1=%00 821s # URI 5: p1=foo&p1=bar 821s # URI 6: p1=foo&P1=bar 821s # URI 7: =% 821s # URI 8: = 821s # URI 9: foo 821s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 821s ok 22 /uri/iter-params/length 821s # End of iter-params tests 821s # Start of parse-params tests 821s # URI 0: p1=foo&p2=bar;p3=baz 821s # URI 1: p1=foo&p2=bar 821s # URI 2: p1=foo&&P1=bar 821s # URI 3: %00=foo 821s # URI 4: p1=%00 821s # URI 5: p1=foo&p1=bar 821s # URI 6: p1=foo&P1=bar 821s # URI 7: =% 821s # URI 8: = 821s # URI 9: foo 821s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 821s ok 23 /uri/parse-params/nul-terminated 821s # URI 0: p1=foo&p2=bar;p3=baz 821s # URI 1: p1=foo&p2=bar 821s # URI 2: p1=foo&&P1=bar 821s # URI 3: %00=foo 821s # URI 4: p1=%00 821s # URI 5: p1=foo&p1=bar 821s # URI 6: p1=foo&P1=bar 821s # URI 7: =% 821s # URI 8: = 821s # URI 9: foo 821s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 821s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 821s ok 24 /uri/parse-params/length 821s # End of parse-params tests 821s # End of uri tests 821s ok - glib/uri.test 821s # Running test: glib/object.test 821s TAP version 14 821s # random seed: R02Sc6ff35a8439f0d4aa4cbe2dbe28061f1 821s 1..2 821s # Start of object tests 821s # Start of constructor tests 821s ok 1 /object/constructor/singleton 821s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 821s # End of constructor tests 821s # End of object tests 821s ok - glib/object.test 821s # Running test: glib/object-info.test 821s TAP version 14 821s # random seed: R02S3de089c423da1e57a04d8224ae93ccfb 821s 1..2 821s # Start of object-info tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_8P8CX2/object-info/find-method-using-interfaces/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s ok 1 /object-info/find-method-using-interfaces 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_8P8CX2/object-info/find-vfunc-using-interfaces/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s ok 2 /object-info/find-vfunc-using-interfaces 821s # End of object-info tests 821s ok - glib/object-info.test 821s # Running test: glib/function-info.test 821s TAP version 14 821s # random seed: R02S7932de19d37264eca68e268f207a6dd7 821s 1..1 821s # Start of function-info tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_EWJDX2/function-info/invoker/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /function-info/invoker summary: Test preparing a function invoker 821s ok 1 /function-info/invoker 821s # End of function-info tests 821s ok - glib/function-info.test 821s # Running test: glib/unix-fd.test 821s TAP version 14 821s # random seed: R02S4017325472ce5b16740e4f6f03fbcf8c 821s 1..2 821s # Start of unix-fd tests 821s ok 1 /unix-fd/fd-list 821s ok 2 /unix-fd/scm 821s # End of unix-fd tests 821s ok - glib/unix-fd.test 821s # Running test: glib/properties-refcount2.test 821s TAP version 14 821s # random seed: R02Sf7b81aebe1a33666373875b52dd83a15 821s 1..1 821s # Start of gobject tests 821s # Start of refcount tests 821s # init 0x8658238 821s # 821s # . 821s # . 821s # . 821s # . 821s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 822s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # . 823s # dispose 0x8658238! 823s # 823s ok 1 /gobject/refcount/properties-2 823s # slow test /gobject/refcount/properties-2 executed in 1.58 secs 823s # End of refcount tests 823s # End of gobject tests 823s ok - glib/properties-refcount2.test 823s # Running test: glib/convert.test 823s TAP version 14 823s # random seed: R02S6f71c602104eea7daeff6556325fd054 823s 1..14 823s # Start of conversion tests 823s ok 1 /conversion/no-conv 823s ok 2 /conversion/iconv-state 823s ok 3 /conversion/illegal-sequence 823s ok 4 /conversion/byte-order 823s ok 5 /conversion/unicode 823s ok 6 /conversion/filename-utf8 823s ok 7 /conversion/filename-display 823s ok 8 /conversion/convert-embedded-nul 823s # Start of locale-to-utf8 tests 823s ok 9 /conversion/locale-to-utf8/embedded-nul 823s # Start of embedded-nul tests 823s # Start of subprocess tests 823s # End of subprocess tests 823s # End of embedded-nul tests 823s # End of locale-to-utf8 tests 823s # Start of locale-from-utf8 tests 823s ok 10 /conversion/locale-from-utf8/embedded-nul 823s # Start of embedded-nul tests 823s # Start of subprocess tests 823s # End of subprocess tests 823s # End of embedded-nul tests 823s # End of locale-from-utf8 tests 823s # Start of filename-to-utf8 tests 823s ok 11 /conversion/filename-to-utf8/embedded-nul 823s # Start of embedded-nul tests 823s # Start of subprocess tests 823s # End of subprocess tests 823s # End of embedded-nul tests 823s # End of filename-to-utf8 tests 823s # Start of filename-from-utf8 tests 823s ok 12 /conversion/filename-from-utf8/embedded-nul 823s # Start of embedded-nul tests 823s # Start of subprocess tests 823s # End of subprocess tests 823s # End of embedded-nul tests 823s # End of filename-from-utf8 tests 823s # Start of filename-from-uri tests 823s ok 13 /conversion/filename-from-uri/query-is-ignored 823s ok 14 /conversion/filename-from-uri/fragment-is-ignored 823s # End of filename-from-uri tests 823s # End of conversion tests 823s ok - glib/convert.test 823s # Running test: glib/union-info.test 823s TAP version 14 823s # random seed: R02Sed314c361c027c54656c9844789b3cf4 823s 1..2 823s # Start of union-info tests 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_F6K4W2/union-info/basic/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_F6K4W2/union-info/basic/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_F6K4W2/union-info/basic/.dirs/runtime 823s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 823s # /union-info/basic summary: Test basic properties of GIUnionInfo 823s ok 1 /union-info/basic 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_F6K4W2/union-info/methods/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_F6K4W2/union-info/methods/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_F6K4W2/union-info/methods/.dirs/runtime 823s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 823s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 823s ok 2 /union-info/methods 823s # End of union-info tests 823s ok - glib/union-info.test 823s # Running test: glib/test-printf.test 823s TAP version 14 823s # random seed: R02Sa20575abd4f2c16698c5318fc02cc743 823s 1..22 823s # Start of snprintf tests 823s ok 1 /snprintf/retval-and-trunc 823s ok 2 /snprintf/%d 823s ok 3 /snprintf/%d-invalid 823s ok 4 /snprintf/%o 823s ok 5 /snprintf/%u 823s ok 6 /snprintf/%x 823s ok 7 /snprintf/%X 823s ok 8 /snprintf/%f 823s ok 9 /snprintf/%e 823s ok 10 /snprintf/%c 823s ok 11 /snprintf/%s 823s ok 12 /snprintf/%n 823s ok 13 /snprintf/test-percent 823s ok 14 /snprintf/test-positional-params 823s ok 15 /snprintf/test-64bit 823s # End of snprintf tests 823s # Start of printf tests 823s ok 16 /printf/test-percent 823s ok 17 /printf/test-positional-params 823s ok 18 /printf/test-64bit 823s # Start of test-64bit tests 823s # Start of subprocess tests 823s # End of subprocess tests 823s # End of test-64bit tests 823s # End of printf tests 823s # Start of sprintf tests 823s ok 19 /sprintf/test-positional-params 823s ok 20 /sprintf/upper-bound 823s # End of sprintf tests 823s # Start of vasprintf tests 823s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 823s ok 21 /vasprintf/invalid-format-placeholder 823s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 823s ok 22 /vasprintf/invalid-wide-string 823s # End of vasprintf tests 823s ok - glib/test-printf.test 823s # Running test: glib/performance.test 823s Running test simple-construction 823s # Executing: glib/performance.test 828s # Executing: glib/performance.test 832s simple-construction: Millions of constructed objects per second: 10.165 832s Running test simple-construction1 833s # Executing: glib/performance.test 835s simple-construction1: Millions of constructed objects per second: 67.299 835s Running test complex-construction 838s complex-construction: Millions of constructed objects per second: 4.305 838s Running test complex-construction1 838s # Executing: glib/performance.test 843s # Executing: glib/performance.test 844s complex-construction1: Millions of constructed objects per second: 6.610 844s Running test complex-construction2 848s # Executing: glib/performance.test 849s complex-construction2: Millions of constructed objects per second: 7.388 849s Running test finalization 850s finalization: Millions of finalized objects per second: 1.739 850s Running test type-check 851s type-check: Million type checks per second: 40.23 851s Running test emit-unhandled 852s emit-unhandled: Emissions per second: 2585653 852s Running test emit-unhandled-empty 853s # Executing: glib/performance.test 854s emit-unhandled-empty: Emissions per second: 23731089 854s Running test emit-unhandled-generic 855s emit-unhandled-generic: Emissions per second: 3694208 855s Running test emit-unhandled-generic-empty 856s emit-unhandled-generic-empty: Emissions per second: 24075819 856s Running test emit-unhandled-args 857s emit-unhandled-args: Emissions per second: 2278460 857s Running test emit-handled 858s emit-handled: Emissions per second: 1708688 858s Running test emit-handled-empty 858s # Executing: glib/performance.test 859s emit-handled-empty: Emissions per second: 1772938 859s Running test emit-handled-generic 860s emit-handled-generic: Emissions per second: 1765457 860s Running test emit-handled-generic-empty 861s emit-handled-generic-empty: Emissions per second: 3007523 861s Running test emit-handled-args 862s emit-handled-args: Emissions per second: 1588302 862s Running test notify-unhandled 863s notify-unhandled: Notify (unhandled) per second: 10881375 863s Running test notify-by-pspec-unhandled 863s # Executing: glib/performance.test 864s notify-by-pspec-unhandled: Notify (unhandled) per second: 76010870 864s Running test notify-handled 865s notify-handled: Notify per second: 1031528 865s Running test notify-by-pspec-handled 866s notify-by-pspec-handled: Notify per second: 1115553 866s Running test property-set 867s property-set: Property set per second: 10026127 867s Running test property-get 868s property-get: Property get per second: 9579284 868s Running test refcount 868s # Executing: glib/performance.test 869s refcount: Million refs+unref per second: 16.88 869s Running test refcount-1 870s refcount-1: Million refs+unref per second: 41.12 870s Running test refcount-toggle 871s refcount-toggle: Million refs+unref per second: 24.27 871s ok - glib/performance.test 871s # Running test: glib/gdbus-serialization.test 871s TAP version 14 871s # random seed: R02S20b630d60f5e3c30becc8f9bf5cce834 871s 1..18 871s # Start of gdbus tests 871s # Start of message-serialize tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/basic/.dirs/runtime 871s ok 1 /gdbus/message-serialize/basic 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/complex/.dirs/runtime 871s ok 2 /gdbus/message-serialize/complex 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/invalid/.dirs/runtime 872s ok 3 /gdbus/message-serialize/invalid 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/.dirs/runtime 872s ok 4 /gdbus/message-serialize/header-checks 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/double-array/.dirs/runtime 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 872s ok 5 /gdbus/message-serialize/double-array 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/empty-structure/.dirs/runtime 872s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 872s ok 6 /gdbus/message-serialize/empty-structure 872s # Start of header-checks tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 872s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 872s ok 7 /gdbus/message-serialize/header-checks/valid 872s # End of header-checks tests 872s # End of message-serialize tests 872s # Start of message-parse tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 872s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/non-signature-header/.dirs/runtime 872s ok 9 /gdbus/message-parse/non-signature-header 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-signature-header/.dirs/runtime 872s ok 10 /gdbus/message-parse/empty-signature-header 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 872s ok 11 /gdbus/message-parse/multiple-signature-header 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 872s ok 12 /gdbus/message-parse/over-long-signature-header 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 872s ok 13 /gdbus/message-parse/deep-header-nesting 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 872s ok 14 /gdbus/message-parse/deep-body-nesting 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/truncated/.dirs/runtime 872s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 872s ok 15 /gdbus/message-parse/truncated 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/empty-structure/.dirs/runtime 872s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 872s ok 16 /gdbus/message-parse/empty-structure 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/missing-header/.dirs/runtime 872s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 872s ok 17 /gdbus/message-parse/missing-header 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_GQYEX2/gdbus/message-parse/invalid-header-type/.dirs/runtime 872s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 872s ok 18 /gdbus/message-parse/invalid-header-type 872s # End of message-parse tests 872s # End of gdbus tests 872s ok - glib/gdbus-serialization.test 872s # Running test: glib/atomic.test 872s TAP version 14 872s # random seed: R02Sfef6f709809a08da550f45dc83384011 872s 1..2 872s # Start of atomic tests 872s ok 1 /atomic/types 872s ok 2 /atomic/threaded 872s # End of atomic tests 872s ok - glib/atomic.test 872s # Running test: glib/live-g-file.test 872s TAP version 14 872s # random seed: R02Sfe325b937a6dbffa256753c938745868 872s 1..13 872s # Start of live-g-file tests 872s # Cleaning target testing structure in 'testdir_live-g-file'... 872s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 872s ok 1 /live-g-file/prep_clean_structure 872s # 872s # Going to create testing structure in 'testdir_live-g-file'... 872s # Creating directory 'dir1'... 872s # Creating directory 'dir1/subdir'... 872s # Creating directory 'dir2'... 872s # Creating directory 'dir-target'... 872s # Creating directory 'dir_no-access'... 872s # Creating directory 'dir_no-write'... 872s # Creating file 'target-file'... 872s # Creating file 'normal_file'... 872s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 872s # Creating file 'executable_file'... 872s # Creating file 'private_file'... 872s # Creating file 'normal_file2'... 872s # Creating file 'readonly_file'... 872s # Creating file 'UTF_pr?i?lis? z'... 872s # Creating directory 'dir_pr?i?lis? z'... 872s # Creating symlink 'lost_symlink' --> 'nowhere'... 872s # Creating directory 'dir_hidden'... 872s # Creating file 'dir_hidden/.a-hidden-file'... 872s # Creating file 'dir_hidden/file-in-.hidden1'... 872s # Creating file 'dir_hidden/file-in-.hidden2'... 872s # Creating pattern file... 872s # done. 872s ok 2 /live-g-file/create_structure 872s # Testing sample structure in 'testdir_live-g-file'... 872s # Testing file 'dir1'... 872s # Testing file 'dir1/subdir'... 872s # Testing file 'dir2'... 872s # Testing file 'dir-target'... 872s # Testing file 'dir_no-access'... 872s # Testing file 'dir_no-write'... 872s # Testing file 'target-file'... 872s # Testing file 'normal_file'... 872s # Testing file 'normal_file-symlink'... 872s # Testing file 'executable_file'... 872s # Testing file 'private_file'... 872s # Testing file 'normal_file2'... 872s # Testing file 'readonly_file'... 872s # Testing file 'UTF_pr?i?lis? z'... 872s # Testing file 'dir_pr?i?lis? z'... 872s # Testing file 'lost_symlink'... 872s # Testing file 'dir_hidden'... 872s # Testing file 'dir_hidden/.a-hidden-file'... 872s # Testing file 'dir_hidden/file-in-.hidden1'... 872s # Testing file 'dir_hidden/file-in-.hidden2'... 872s # Testing pattern file... 872s # read 65536 bytes, total = 65536 of 65536. 872s ok 3 /live-g-file/test_initial_structure 872s # Traversing through the sample structure in 'testdir_live-g-file'... 872s # Found file dir1, relative to root: dir1 872s # Found file subdir, relative to root: dir1/subdir 872s # Found file dir2, relative to root: dir2 872s # Found file dir-target, relative to root: dir-target 872s # Found file dir_no-access, relative to root: dir_no-access 872s # Found file dir_no-write, relative to root: dir_no-write 872s # Found file target-file, relative to root: target-file 872s # Found file normal_file, relative to root: normal_file 872s # Found file normal_file-symlink, relative to root: normal_file-symlink 872s # Found file executable_file, relative to root: executable_file 872s # Found file private_file, relative to root: private_file 872s # Found file normal_file2, relative to root: normal_file2 872s # Found file readonly_file, relative to root: readonly_file 872s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 872s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 872s # Found file lost_symlink, relative to root: lost_symlink 872s # Found file dir_hidden, relative to root: dir_hidden 872s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 872s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 872s # Found file .hidden, relative to root: dir_hidden/.hidden 872s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 872s # Found file pattern_file, relative to root: pattern_file 872s ok 4 /live-g-file/test_traverse_structure 872s # Test enumerate 'testdir_live-g-file'... 872s # Testing file 'dir_no-access' 872s # Testing file 'normal_file' 872s # Testing file 'normal_file-symlink' 872s # Testing file 'not_exists' 872s # Testing file 'not_exists' 872s # Testing file 'not_exists2' 872s # Testing file 'not_exists3' 872s # Testing file 'not_exists4' 872s # Testing file 'dir_no-execute/file' 872s ok 5 /live-g-file/test_enumerate 872s # test_open: 'dir1' 872s # test_open: 'dir_no-access' 872s # test_open: 'target-file' 872s # test_open: 'normal_file-symlink' 872s # test_open: 'executable_file' 872s # test_open: 'private_file' 872s # test_open: 'readonly_file' 872s # test_open: 'UTF_pr?i?lis? z' 872s # test_open: 'pattern_file' 872s # test_open: 'not_exists' 872s # test_open: 'dir_no-execute/file' 872s # test_open: 'lost_symlink' 872s ok 6 /live-g-file/test_open 872s # test_create: 'dir1' 872s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir1?: Is a directory 872s # test_create: 'dir1/subdir' 872s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir1/subdir?: Is a directory 872s # test_create: 'dir2' 872s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir2?: File exists 872s # test_create: 'normal_file' 872s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/normal_file?: File exists 872s # test_create: 'executable_file' 872s # test_create: 'private_file' 872s # test_create: 'normal_file2' 872s # test_create: 'UTF_pr?i?lis? z' 872s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 872s # test_create: 'dir_pr?i?lis? z' 872s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 872s # test_create: 'pattern_file' 872s # test_create: 'not_exists2' 872s # test_create: 'not_exists3' 872s # test_create: 'not_exists4' 872s ok 7 /live-g-file/test_create 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> 'dir-target' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> '.' 872s # res = 0, error code 2 = Target file exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> 'target-file' 872s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> 'not_exists' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir2' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> 'dir-target' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> '.' 872s # res = 0, error code 2 = Target file exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> 'target-file' 872s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/dir-target?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> 'not_exists' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> 'dir_no-access' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'dir-target' --> 'dir_no-write' 872s # res = 0, error code 25 = Can?t recursively copy directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/target-file?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/target-file?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'target-file' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> '.' 872s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/normal_file-symlink: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> 'target-file' 872s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 872s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 872s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 872s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/executable_file?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/executable_file?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'executable_file' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/private_file?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/private_file?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/private_file?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'private_file' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/normal_file2?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/normal_file2?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'normal_file2' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> '.' 872s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/pattern_file?: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> 'target-file' 872s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/pattern_file?: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> 'not_exists' 872s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> 'dir_no-access' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'pattern_file' --> 'dir_no-write' 872s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'dir-target' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> '.' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'target-file' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'not_exists' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'dir_no-access' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'dir_no-write' 872s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists?: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'not_exists' --> 'dir-target' 872s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> 'dir-target' 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> '.' 872s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/lost_symlink: File exists 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> 'target-file' 872s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/target-file/lost_symlink: Not a directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> 'not_exists' 872s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 872s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 872s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 872s ok 8 /live-g-file/test_copy_move 872s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir1 872s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir1: Directory not empty 872s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir2 872s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir2: No such file or directory 872s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/executable_file 872s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/readonly_file 872s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_pr?i?lis? z 872s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists 872s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists: No such file or directory 872s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists 872s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/not_exists: No such file or directory 872s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-execute/file 872s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/dir_no-execute/file: No such file or directory 872s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-QFZ5W2/testdir_live-g-file/lost_symlink 872s ok 9 /live-g-file/test_delete 872s # We do not have CAP_DAC_OVERRIDE or equivalent 872s ok 10 /live-g-file/test_make_directory_with_parents 872s # Cleaning target testing structure in 'testdir_live-g-file'... 872s # deleting 'dir1' 872s # deleting 'subdir' 872s # deleting 'dir-target' 872s # deleting 'dir2' 872s # deleting 'target-file' 872s # deleting 'normal_file-symlink' 872s # deleting 'executable_file' 872s # deleting 'private_file' 872s # deleting 'normal_file2' 872s # deleting 'UTF_pr?i?lis? z' 872s # deleting 'pattern_file' 872s # deleting 'lost_symlink' 872s # deleting 'dir_no-access' 872s # deleting 'dir_no-write' 872s # deleting 'target-file' 872s # deleting 'normal_file' 872s # deleting 'normal_file-symlink' 872s # deleting 'executable_file~' 872s # deleting 'private_file' 872s # deleting 'normal_file2~' 872s # deleting 'UTF_pr?i?lis? z' 872s # deleting 'dir_hidden' 872s # deleting '.a-hidden-file' 872s # deleting 'file-in-.hidden1' 872s # deleting '.hidden' 872s # deleting 'file-in-.hidden2' 872s # deleting 'pattern_file' 872s # deleting 'normal_file2' 872s # deleting 'not_exists2' 872s # deleting 'not_exists3' 872s # deleting 'not_exists4' 872s # deleting 'a' 872s ok 11 /live-g-file/final_clean 872s # Start of test_unix_is_mountpoint tests 872s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 872s ok 13 /live-g-file/test_unix_is_mountpoint/proc 872s # End of test_unix_is_mountpoint tests 872s # End of live-g-file tests 872s ok - glib/live-g-file.test 872s # Running test: glib/deprecated-properties.test 872s TAP version 14 872s # random seed: R02S08c9ac3492b641b027f9b86a1956227f 872s 1..3 872s # Start of deprecated-properties tests 872s ok 1 /deprecated-properties/construct 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 872s ok 2 /deprecated-properties/default-construct 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 872s ok 3 /deprecated-properties/set 872s # End of deprecated-properties tests 872s ok - glib/deprecated-properties.test 872s # Running test: glib/gdbus-error.test 872s TAP version 14 872s # random seed: R02S030a0b8d893569a62c2ea9cae1c498ae 872s 1..4 872s # Start of gdbus tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHDAX2/gdbus/registered-errors/.dirs/runtime 872s ok 1 /gdbus/registered-errors 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHDAX2/gdbus/unregistered-errors/.dirs/runtime 872s ok 2 /gdbus/unregistered-errors 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHDAX2/gdbus/transparent-gerror/.dirs/runtime 872s ok 3 /gdbus/transparent-gerror 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHDAX2/gdbus/register-error/.dirs/runtime 872s ok 4 /gdbus/register-error 872s # End of gdbus tests 872s ok - glib/gdbus-error.test 872s # Running test: glib/memchunk.test 872s TAP version 14 872s # random seed: R02S4469cd609526ee0cbad42c722a6d2b0f 872s 1..1 872s # Start of memchunk tests 872s ok 1 /memchunk/basic 872s # End of memchunk tests 872s ok - glib/memchunk.test 872s # Running test: glib/signals-refcount3.test 872s TAP version 14 872s # random seed: R02Sa48b01d43f99d4a0a1d2cdff9a028316 872s 1..1 872s # Start of gobject tests 872s # Start of refcount tests 872s # init 0x9122a58 872s # 872s # init 0x9122bb0 872s # 873s # Executing: glib/signals-refcount3.test 877s # dispose 0x9122a58! 877s # 877s # dispose 0x9122bb0! 877s # 877s ok 1 /gobject/refcount/signals 877s # slow test /gobject/refcount/signals executed in 5.00 secs 877s # End of refcount tests 877s # End of gobject tests 877s ok - glib/signals-refcount3.test 877s # Running test: glib/boxed.test 877s TAP version 14 877s # random seed: R02S94ff921c2c0293a113538b104589ab74 877s 1..27 877s # Start of boxed tests 877s ok 1 /boxed/define 877s ok 2 /boxed/ownership 877s ok 3 /boxed/closure 877s ok 4 /boxed/date 877s ok 5 /boxed/value 877s ok 6 /boxed/string 877s ok 7 /boxed/hashtable 877s ok 8 /boxed/array 877s ok 9 /boxed/ptrarray 877s ok 10 /boxed/regex 877s ok 11 /boxed/varianttype 877s ok 12 /boxed/error 877s ok 13 /boxed/datetime 877s ok 14 /boxed/matchinfo 877s ok 15 /boxed/keyfile 877s ok 16 /boxed/mainloop 877s ok 17 /boxed/maincontext 877s ok 18 /boxed/source 877s ok 19 /boxed/variantbuilder 877s ok 20 /boxed/timezone 877s ok 21 /boxed/pollfd 877s ok 22 /boxed/markup 877s ok 23 /boxed/thread 877s ok 24 /boxed/checksum 877s ok 25 /boxed/tree 877s ok 26 /boxed/patternspec 877s ok 27 /boxed/rand 877s # End of boxed tests 877s ok - glib/boxed.test 877s # Running test: glib/io-channel-basic.test 877s TAP version 14 877s # random seed: R02S533f95afc7264deb7ea7c2dc1cb60153 877s 1..1 877s # Start of gio tests 877s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 877s # random seed: R02S7e59969c6d7425d7f1c42ee0c4ee3bef 877s # GLib-DEBUG: io-channel-basic: child writing 8+1455 bytes to 6 877s # GLib-DEBUG: io-channel-basic: ...from 5: IN 877s # GLib-DEBUG: io-channel-basic: ...from 5: 1455 bytes 877s # GLib-DEBUG: io-channel-basic: ...from 5: OK 877s # GLib-DEBUG: io-channel-basic: child writing 8+4249 bytes to 6 877s # GLib-DEBUG: io-channel-basic: ...from 5: IN 877s # GLib-DEBUG: io-channel-basic: ...from 5: 4249 bytes 877s # GLib-DEBUG: io-channel-basic: ...from 5: OK 878s # GLib-DEBUG: io-channel-basic: child writing 8+565 bytes to 6 878s # GLib-DEBUG: io-channel-basic: ...from 5: IN 878s # GLib-DEBUG: io-channel-basic: ...from 5: 565 bytes 878s # GLib-DEBUG: io-channel-basic: ...from 5: OK 878s # GLib-DEBUG: io-channel-basic: child writing 8+1821 bytes to 6 878s # GLib-DEBUG: io-channel-basic: ...from 5: IN 878s # GLib-DEBUG: io-channel-basic: ...from 5: 1821 bytes 878s # GLib-DEBUG: io-channel-basic: ...from 5: OK 878s # GLib-DEBUG: io-channel-basic: child writing 8+4179 bytes to 6 878s # GLib-DEBUG: io-channel-basic: ...from 5: IN 878s # GLib-DEBUG: io-channel-basic: ...from 5: 4179 bytes 878s # GLib-DEBUG: io-channel-basic: ...from 5: OK 878s # GLib-DEBUG: io-channel-basic: child writing 8+271 bytes to 6 878s # GLib-DEBUG: io-channel-basic: ...from 5: IN 878s # GLib-DEBUG: io-channel-basic: ...from 5: 271 bytes 878s # GLib-DEBUG: io-channel-basic: ...from 5: OK 878s # Executing: glib/io-channel-basic.test 879s # GLib-DEBUG: io-channel-basic: child writing 8+2158 bytes to 6 879s # GLib-DEBUG: io-channel-basic: ...from 5: IN 879s # GLib-DEBUG: io-channel-basic: ...from 5: 2158 bytes 879s # GLib-DEBUG: io-channel-basic: ...from 5: OK 879s # GLib-DEBUG: io-channel-basic: child writing 8+2632 bytes to 6 879s # GLib-DEBUG: io-channel-basic: ...from 5: IN 879s # GLib-DEBUG: io-channel-basic: ...from 5: 2632 bytes 879s # GLib-DEBUG: io-channel-basic: ...from 5: OK 879s # GLib-DEBUG: io-channel-basic: child writing 8+3097 bytes to 6 879s # GLib-DEBUG: io-channel-basic: ...from 5: IN 879s # GLib-DEBUG: io-channel-basic: ...from 5: 3097 bytes 879s # GLib-DEBUG: io-channel-basic: ...from 5: OK 879s # GLib-DEBUG: io-channel-basic: child writing 8+3284 bytes to 6 879s # GLib-DEBUG: io-channel-basic: ...from 5: IN 879s # GLib-DEBUG: io-channel-basic: ...from 5: 3284 bytes 879s # GLib-DEBUG: io-channel-basic: ...from 5: OK 880s # GLib-DEBUG: io-channel-basic: child writing 8+4382 bytes to 6 880s # GLib-DEBUG: io-channel-basic: ...from 5: IN 880s # GLib-DEBUG: io-channel-basic: ...from 5: 4382 bytes 880s # GLib-DEBUG: io-channel-basic: ...from 5: OK 880s # GLib-DEBUG: io-channel-basic: child writing 8+3915 bytes to 6 880s # GLib-DEBUG: io-channel-basic: ...from 5: IN 880s # GLib-DEBUG: io-channel-basic: ...from 5: 3915 bytes 880s # GLib-DEBUG: io-channel-basic: ...from 5: OK 880s # GLib-DEBUG: io-channel-basic: child writing 8+102 bytes to 6 880s # GLib-DEBUG: io-channel-basic: ...from 5: IN 880s # GLib-DEBUG: io-channel-basic: ...from 5: 102 bytes 880s # GLib-DEBUG: io-channel-basic: ...from 5: OK 880s # GLib-DEBUG: io-channel-basic: child writing 8+3686 bytes to 6 880s # GLib-DEBUG: io-channel-basic: ...from 5: IN 880s # GLib-DEBUG: io-channel-basic: ...from 5: 3686 bytes 880s # GLib-DEBUG: io-channel-basic: ...from 5: OK 881s # GLib-DEBUG: io-channel-basic: child writing 8+599 bytes to 6 881s # GLib-DEBUG: io-channel-basic: ...from 5: IN 881s # GLib-DEBUG: io-channel-basic: ...from 5: 599 bytes 881s # GLib-DEBUG: io-channel-basic: ...from 5: OK 881s # GLib-DEBUG: io-channel-basic: child writing 8+644 bytes to 6 881s # GLib-DEBUG: io-channel-basic: ...from 5: IN 881s # GLib-DEBUG: io-channel-basic: ...from 5: 644 bytes 881s # GLib-DEBUG: io-channel-basic: ...from 5: OK 881s # GLib-DEBUG: io-channel-basic: child writing 8+2838 bytes to 6 881s # GLib-DEBUG: io-channel-basic: ...from 5: IN 881s # GLib-DEBUG: io-channel-basic: ...from 5: 2838 bytes 881s # GLib-DEBUG: io-channel-basic: ...from 5: OK 881s # GLib-DEBUG: io-channel-basic: child writing 8+2003 bytes to 6 881s # GLib-DEBUG: io-channel-basic: ...from 5: IN 881s # GLib-DEBUG: io-channel-basic: ...from 5: 2003 bytes 881s # GLib-DEBUG: io-channel-basic: ...from 5: OK 882s # GLib-DEBUG: io-channel-basic: child writing 8+4359 bytes to 6 882s # GLib-DEBUG: io-channel-basic: ...from 5: IN 882s # GLib-DEBUG: io-channel-basic: ...from 5: 4359 bytes 882s # GLib-DEBUG: io-channel-basic: ...from 5: OK 882s # GLib-DEBUG: io-channel-basic: child writing 8+932 bytes to 6 882s # GLib-DEBUG: io-channel-basic: ...from 5: IN 882s # GLib-DEBUG: io-channel-basic: ...from 5: 932 bytes 882s # GLib-DEBUG: io-channel-basic: ...from 5: OK 882s # GLib-DEBUG: io-channel-basic: child writing 8+347 bytes to 6 882s # GLib-DEBUG: io-channel-basic: ...from 5: IN 882s # GLib-DEBUG: io-channel-basic: ...from 5: 347 bytes 882s # GLib-DEBUG: io-channel-basic: ...from 5: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+3002 bytes to 6 883s # GLib-DEBUG: io-channel-basic: ...from 5: IN 883s # GLib-DEBUG: io-channel-basic: ...from 5: 3002 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 5: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+1478 bytes to 6 883s # GLib-DEBUG: io-channel-basic: ...from 5: IN 883s # GLib-DEBUG: io-channel-basic: ...from 5: 1478 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 5: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+1636 bytes to 6 883s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 883s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 883s # GLib-DEBUG: io-channel-basic: ...from 5: 1636 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 5: OK 883s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 883s # random seed: R02Sf9f2772346ed90a7ffd16fd412fafc61 883s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 883s # random seed: R02S2a0cd8cf248811610b878de3a9d91885 883s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 883s # random seed: R02Sdee5b222e4b4a5756819fd07c05cee38 883s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 883s # random seed: R02Se5ba7353f659829f1a8cb9f7af701786 883s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 883s # random seed: R02S577b5fb40f24b5d9c123bdae6b2848d7 883s # GLib-DEBUG: io-channel-basic: child writing 8+2553 bytes to 17 883s # GLib-DEBUG: io-channel-basic: ...from 16: IN 883s # GLib-DEBUG: io-channel-basic: ...from 16: 2553 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 16: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+1399 bytes to 15 883s # GLib-DEBUG: io-channel-basic: ...from 14: IN 883s # GLib-DEBUG: io-channel-basic: ...from 14: 1399 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 14: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+735 bytes to 9 883s # GLib-DEBUG: io-channel-basic: ...from 8: IN 883s # GLib-DEBUG: io-channel-basic: ...from 8: 735 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 8: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+3014 bytes to 11 883s # GLib-DEBUG: io-channel-basic: ...from 10: IN 883s # GLib-DEBUG: io-channel-basic: ...from 10: 3014 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 10: OK 883s # GLib-DEBUG: io-channel-basic: child writing 8+2364 bytes to 13 883s # GLib-DEBUG: io-channel-basic: ...from 12: IN 883s # GLib-DEBUG: io-channel-basic: ...from 12: 2364 bytes 883s # GLib-DEBUG: io-channel-basic: ...from 12: OK 883s # Executing: glib/io-channel-basic.test 884s # GLib-DEBUG: io-channel-basic: child writing 8+4647 bytes to 15 884s # GLib-DEBUG: io-channel-basic: ...from 14: IN 884s # GLib-DEBUG: io-channel-basic: ...from 14: 4647 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 14: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+1784 bytes to 17 884s # GLib-DEBUG: io-channel-basic: ...from 16: IN 884s # GLib-DEBUG: io-channel-basic: ...from 16: 1784 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 16: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+78 bytes to 11 884s # GLib-DEBUG: io-channel-basic: ...from 10: IN 884s # GLib-DEBUG: io-channel-basic: ...from 10: 78 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 10: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+1344 bytes to 9 884s # GLib-DEBUG: io-channel-basic: ...from 8: IN 884s # GLib-DEBUG: io-channel-basic: ...from 8: 1344 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 8: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+4488 bytes to 13 884s # GLib-DEBUG: io-channel-basic: ...from 12: IN 884s # GLib-DEBUG: io-channel-basic: ...from 12: 4488 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 12: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+2599 bytes to 15 884s # GLib-DEBUG: io-channel-basic: ...from 14: IN 884s # GLib-DEBUG: io-channel-basic: ...from 14: 2599 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 14: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+1324 bytes to 17 884s # GLib-DEBUG: io-channel-basic: ...from 16: IN 884s # GLib-DEBUG: io-channel-basic: ...from 16: 1324 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 16: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+3270 bytes to 11 884s # GLib-DEBUG: io-channel-basic: ...from 10: IN 884s # GLib-DEBUG: io-channel-basic: ...from 10: 3270 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 10: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+3317 bytes to 13 884s # GLib-DEBUG: io-channel-basic: ...from 12: IN 884s # GLib-DEBUG: io-channel-basic: ...from 12: 3317 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 12: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+699 bytes to 9 884s # GLib-DEBUG: io-channel-basic: ...from 8: IN 884s # GLib-DEBUG: io-channel-basic: ...from 8: 699 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 8: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+2010 bytes to 17 884s # GLib-DEBUG: io-channel-basic: ...from 16: IN 884s # GLib-DEBUG: io-channel-basic: ...from 16: 2010 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 16: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+314 bytes to 15 884s # GLib-DEBUG: io-channel-basic: ...from 14: IN 884s # GLib-DEBUG: io-channel-basic: ...from 14: 314 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 14: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+4579 bytes to 11 884s # GLib-DEBUG: io-channel-basic: ...from 10: IN 884s # GLib-DEBUG: io-channel-basic: ...from 10: 4579 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 10: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+3136 bytes to 13 884s # GLib-DEBUG: io-channel-basic: ...from 12: IN 884s # GLib-DEBUG: io-channel-basic: ...from 12: 3136 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 12: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+3941 bytes to 9 884s # GLib-DEBUG: io-channel-basic: ...from 8: IN 884s # GLib-DEBUG: io-channel-basic: ...from 8: 3941 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 8: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 17 884s # GLib-DEBUG: io-channel-basic: ...from 16: IN 884s # GLib-DEBUG: io-channel-basic: ...from 16: 311 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 16: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+3136 bytes to 15 884s # GLib-DEBUG: io-channel-basic: ...from 14: IN 884s # GLib-DEBUG: io-channel-basic: ...from 14: 3136 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 14: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+4344 bytes to 11 884s # GLib-DEBUG: io-channel-basic: ...from 10: IN 884s # GLib-DEBUG: io-channel-basic: ...from 10: 4344 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 10: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+2655 bytes to 13 884s # GLib-DEBUG: io-channel-basic: ...from 12: IN 884s # GLib-DEBUG: io-channel-basic: ...from 12: 2655 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 12: OK 884s # GLib-DEBUG: io-channel-basic: child writing 8+4542 bytes to 9 884s # GLib-DEBUG: io-channel-basic: ...from 8: IN 884s # GLib-DEBUG: io-channel-basic: ...from 8: 4542 bytes 884s # GLib-DEBUG: io-channel-basic: ...from 8: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3860 bytes to 15 885s # GLib-DEBUG: io-channel-basic: ...from 14: IN 885s # GLib-DEBUG: io-channel-basic: ...from 14: 3860 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 14: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3401 bytes to 17 885s # GLib-DEBUG: io-channel-basic: ...from 16: IN 885s # GLib-DEBUG: io-channel-basic: ...from 16: 3401 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 16: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+1383 bytes to 11 885s # GLib-DEBUG: io-channel-basic: ...from 10: IN 885s # GLib-DEBUG: io-channel-basic: ...from 10: 1383 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 10: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+399 bytes to 13 885s # GLib-DEBUG: io-channel-basic: ...from 12: IN 885s # GLib-DEBUG: io-channel-basic: ...from 12: 399 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 12: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3533 bytes to 9 885s # GLib-DEBUG: io-channel-basic: ...from 8: IN 885s # GLib-DEBUG: io-channel-basic: ...from 8: 3533 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 8: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3426 bytes to 15 885s # GLib-DEBUG: io-channel-basic: ...from 14: IN 885s # GLib-DEBUG: io-channel-basic: ...from 14: 3426 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 14: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+837 bytes to 17 885s # GLib-DEBUG: io-channel-basic: ...from 16: IN 885s # GLib-DEBUG: io-channel-basic: ...from 16: 837 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 16: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+4173 bytes to 11 885s # GLib-DEBUG: io-channel-basic: ...from 10: IN 885s # GLib-DEBUG: io-channel-basic: ...from 10: 4173 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 10: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+1905 bytes to 9 885s # GLib-DEBUG: io-channel-basic: ...from 8: IN 885s # GLib-DEBUG: io-channel-basic: ...from 8: 1905 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 8: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+2087 bytes to 13 885s # GLib-DEBUG: io-channel-basic: ...from 12: IN 885s # GLib-DEBUG: io-channel-basic: ...from 12: 2087 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 12: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3443 bytes to 15 885s # GLib-DEBUG: io-channel-basic: ...from 14: IN 885s # GLib-DEBUG: io-channel-basic: ...from 14: 3443 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 14: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+3959 bytes to 17 885s # GLib-DEBUG: io-channel-basic: ...from 16: IN 885s # GLib-DEBUG: io-channel-basic: ...from 16: 3959 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 16: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+753 bytes to 11 885s # GLib-DEBUG: io-channel-basic: ...from 10: IN 885s # GLib-DEBUG: io-channel-basic: ...from 10: 753 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 10: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+4491 bytes to 13 885s # GLib-DEBUG: io-channel-basic: ...from 12: IN 885s # GLib-DEBUG: io-channel-basic: ...from 12: 4491 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 12: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+1042 bytes to 9 885s # GLib-DEBUG: io-channel-basic: ...from 8: IN 885s # GLib-DEBUG: io-channel-basic: ...from 8: 1042 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 8: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+720 bytes to 15 885s # GLib-DEBUG: io-channel-basic: ...from 14: IN 885s # GLib-DEBUG: io-channel-basic: ...from 14: 720 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 14: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+4182 bytes to 17 885s # GLib-DEBUG: io-channel-basic: ...from 16: IN 885s # GLib-DEBUG: io-channel-basic: ...from 16: 4182 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 16: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+2348 bytes to 13 885s # GLib-DEBUG: io-channel-basic: ...from 12: IN 885s # GLib-DEBUG: io-channel-basic: ...from 12: 2348 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 12: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+2358 bytes to 11 885s # GLib-DEBUG: io-channel-basic: ...from 10: IN 885s # GLib-DEBUG: io-channel-basic: ...from 10: 2358 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 10: OK 885s # GLib-DEBUG: io-channel-basic: child writing 8+2837 bytes to 9 885s # GLib-DEBUG: io-channel-basic: ...from 8: IN 885s # GLib-DEBUG: io-channel-basic: ...from 8: 2837 bytes 885s # GLib-DEBUG: io-channel-basic: ...from 8: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+2343 bytes to 15 886s # GLib-DEBUG: io-channel-basic: ...from 14: IN 886s # GLib-DEBUG: io-channel-basic: ...from 14: 2343 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 14: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+1442 bytes to 17 886s # GLib-DEBUG: io-channel-basic: ...from 16: IN 886s # GLib-DEBUG: io-channel-basic: ...from 16: 1442 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 16: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3182 bytes to 13 886s # GLib-DEBUG: io-channel-basic: ...from 12: IN 886s # GLib-DEBUG: io-channel-basic: ...from 12: 3182 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 12: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3604 bytes to 11 886s # GLib-DEBUG: io-channel-basic: ...from 10: IN 886s # GLib-DEBUG: io-channel-basic: ...from 10: 3604 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 10: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+305 bytes to 9 886s # GLib-DEBUG: io-channel-basic: ...from 8: IN 886s # GLib-DEBUG: io-channel-basic: ...from 8: 305 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 8: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3068 bytes to 15 886s # GLib-DEBUG: io-channel-basic: ...from 14: IN 886s # GLib-DEBUG: io-channel-basic: ...from 14: 3068 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 14: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+2546 bytes to 17 886s # GLib-DEBUG: io-channel-basic: ...from 16: IN 886s # GLib-DEBUG: io-channel-basic: ...from 16: 2546 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 16: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3984 bytes to 13 886s # GLib-DEBUG: io-channel-basic: ...from 12: IN 886s # GLib-DEBUG: io-channel-basic: ...from 12: 3984 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 12: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+951 bytes to 9 886s # GLib-DEBUG: io-channel-basic: ...from 8: IN 886s # GLib-DEBUG: io-channel-basic: ...from 8: 951 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 8: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3392 bytes to 11 886s # GLib-DEBUG: io-channel-basic: ...from 10: IN 886s # GLib-DEBUG: io-channel-basic: ...from 10: 3392 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 10: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3060 bytes to 15 886s # GLib-DEBUG: io-channel-basic: ...from 14: IN 886s # GLib-DEBUG: io-channel-basic: ...from 14: 3060 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 14: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+878 bytes to 17 886s # GLib-DEBUG: io-channel-basic: ...from 16: IN 886s # GLib-DEBUG: io-channel-basic: ...from 16: 878 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 16: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+3550 bytes to 13 886s # GLib-DEBUG: io-channel-basic: ...from 12: IN 886s # GLib-DEBUG: io-channel-basic: ...from 12: 3550 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 12: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+397 bytes to 11 886s # GLib-DEBUG: io-channel-basic: ...from 10: IN 886s # GLib-DEBUG: io-channel-basic: ...from 10: 397 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 10: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+2852 bytes to 9 886s # GLib-DEBUG: io-channel-basic: ...from 8: IN 886s # GLib-DEBUG: io-channel-basic: ...from 8: 2852 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 8: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+4816 bytes to 15 886s # GLib-DEBUG: io-channel-basic: ...from 14: IN 886s # GLib-DEBUG: io-channel-basic: ...from 14: 4816 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 14: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+4587 bytes to 17 886s # GLib-DEBUG: io-channel-basic: ...from 16: IN 886s # GLib-DEBUG: io-channel-basic: ...from 16: 4587 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 16: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+592 bytes to 13 886s # GLib-DEBUG: io-channel-basic: ...from 12: IN 886s # GLib-DEBUG: io-channel-basic: ...from 12: 592 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 12: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+4791 bytes to 9 886s # GLib-DEBUG: io-channel-basic: ...from 8: IN 886s # GLib-DEBUG: io-channel-basic: ...from 8: 4791 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 8: OK 886s # GLib-DEBUG: io-channel-basic: child writing 8+4848 bytes to 11 886s # GLib-DEBUG: io-channel-basic: ...from 10: IN 886s # GLib-DEBUG: io-channel-basic: ...from 10: 4848 bytes 886s # GLib-DEBUG: io-channel-basic: ...from 10: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+985 bytes to 15 887s # GLib-DEBUG: io-channel-basic: ...from 14: IN 887s # GLib-DEBUG: io-channel-basic: ...from 14: 985 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 14: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+4613 bytes to 17 887s # GLib-DEBUG: io-channel-basic: ...from 16: IN 887s # GLib-DEBUG: io-channel-basic: ...from 16: 4613 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 16: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+2558 bytes to 13 887s # GLib-DEBUG: io-channel-basic: ...from 12: IN 887s # GLib-DEBUG: io-channel-basic: ...from 12: 2558 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 12: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+4439 bytes to 11 887s # GLib-DEBUG: io-channel-basic: ...from 10: IN 887s # GLib-DEBUG: io-channel-basic: ...from 10: 4439 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 10: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+4212 bytes to 9 887s # GLib-DEBUG: io-channel-basic: ...from 8: IN 887s # GLib-DEBUG: io-channel-basic: ...from 8: 4212 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 8: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+4174 bytes to 17 887s # GLib-DEBUG: io-channel-basic: ...from 16: IN 887s # GLib-DEBUG: io-channel-basic: ...from 16: 4174 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 16: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+123 bytes to 15 887s # GLib-DEBUG: io-channel-basic: ...from 14: IN 887s # GLib-DEBUG: io-channel-basic: ...from 14: 123 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 14: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+3028 bytes to 13 887s # GLib-DEBUG: io-channel-basic: ...from 12: IN 887s # GLib-DEBUG: io-channel-basic: ...from 12: 3028 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 12: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+3605 bytes to 11 887s # GLib-DEBUG: io-channel-basic: ...from 10: IN 887s # GLib-DEBUG: io-channel-basic: ...from 10: 3605 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 10: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+3084 bytes to 9 887s # GLib-DEBUG: io-channel-basic: ...from 8: IN 887s # GLib-DEBUG: io-channel-basic: ...from 8: 3084 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 8: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+2701 bytes to 17 887s # GLib-DEBUG: io-channel-basic: ...from 16: IN 887s # GLib-DEBUG: io-channel-basic: ...from 16: 2701 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 16: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+2886 bytes to 15 887s # GLib-DEBUG: io-channel-basic: ...from 14: IN 887s # GLib-DEBUG: io-channel-basic: ...from 14: 2886 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 14: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+4011 bytes to 13 887s # GLib-DEBUG: io-channel-basic: ...from 12: IN 887s # GLib-DEBUG: io-channel-basic: ...from 12: 4011 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 12: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+3448 bytes to 11 887s # GLib-DEBUG: io-channel-basic: ...from 10: IN 887s # GLib-DEBUG: io-channel-basic: ...from 10: 3448 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 10: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+3649 bytes to 9 887s # GLib-DEBUG: io-channel-basic: ...from 8: IN 887s # GLib-DEBUG: io-channel-basic: ...from 8: 3649 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 8: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+1754 bytes to 17 887s # GLib-DEBUG: io-channel-basic: ...from 16: IN 887s # GLib-DEBUG: io-channel-basic: ...from 16: 1754 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 16: OK 887s # GLib-DEBUG: io-channel-basic: child writing 8+619 bytes to 15 887s # GLib-DEBUG: io-channel-basic: ...from 14: IN 887s # GLib-DEBUG: io-channel-basic: ...from 14: 619 bytes 887s # GLib-DEBUG: io-channel-basic: ...from 14: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+511 bytes to 11 888s # GLib-DEBUG: io-channel-basic: ...from 10: IN 888s # GLib-DEBUG: io-channel-basic: ...from 10: 511 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 10: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+4612 bytes to 9 888s # GLib-DEBUG: io-channel-basic: ...from 8: IN 888s # GLib-DEBUG: io-channel-basic: ...from 8: 4612 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 8: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+1909 bytes to 13 888s # GLib-DEBUG: io-channel-basic: ...from 12: IN 888s # GLib-DEBUG: io-channel-basic: ...from 12: 1909 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 12: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+3026 bytes to 17 888s # GLib-DEBUG: io-channel-basic: ...from 16: IN 888s # GLib-DEBUG: io-channel-basic: ...from 16: 3026 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 16: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+540 bytes to 15 888s # GLib-DEBUG: io-channel-basic: ...from 14: IN 888s # GLib-DEBUG: io-channel-basic: ...from 14: 540 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 14: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 11 888s # GLib-DEBUG: io-channel-basic: ...from 10: IN 888s # GLib-DEBUG: io-channel-basic: ...from 10: 4069 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 10: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+131 bytes to 13 888s # GLib-DEBUG: io-channel-basic: ...from 12: IN 888s # GLib-DEBUG: io-channel-basic: ...from 12: 131 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 12: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+88 bytes to 9 888s # GLib-DEBUG: io-channel-basic: ...from 8: IN 888s # GLib-DEBUG: io-channel-basic: ...from 8: 88 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 8: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+2555 bytes to 17 888s # GLib-DEBUG: io-channel-basic: ...from 16: IN 888s # GLib-DEBUG: io-channel-basic: ...from 16: 2555 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 16: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+3754 bytes to 15 888s # GLib-DEBUG: io-channel-basic: ...from 14: IN 888s # GLib-DEBUG: io-channel-basic: ...from 14: 3754 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 14: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+1186 bytes to 11 888s # GLib-DEBUG: io-channel-basic: ...from 10: IN 888s # GLib-DEBUG: io-channel-basic: ...from 10: 1186 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 10: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+1686 bytes to 9 888s # GLib-DEBUG: io-channel-basic: ...from 8: IN 888s # GLib-DEBUG: io-channel-basic: ...from 8: 1686 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 8: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+1561 bytes to 13 888s # GLib-DEBUG: io-channel-basic: ...from 12: IN 888s # GLib-DEBUG: io-channel-basic: ...from 12: 1561 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 12: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+4930 bytes to 17 888s # GLib-DEBUG: io-channel-basic: ...from 16: IN 888s # GLib-DEBUG: io-channel-basic: ...from 16: 4930 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 16: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+4166 bytes to 15 888s # GLib-DEBUG: io-channel-basic: ...from 14: IN 888s # GLib-DEBUG: io-channel-basic: ...from 14: 4166 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 14: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+2106 bytes to 11 888s # GLib-DEBUG: io-channel-basic: ...from 10: IN 888s # GLib-DEBUG: io-channel-basic: ...from 10: 2106 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 10: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+2103 bytes to 9 888s # GLib-DEBUG: io-channel-basic: ...from 8: IN 888s # GLib-DEBUG: io-channel-basic: ...from 8: 2103 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 8: OK 888s # GLib-DEBUG: io-channel-basic: child writing 8+1048 bytes to 13 888s # GLib-DEBUG: io-channel-basic: ...from 12: IN 888s # GLib-DEBUG: io-channel-basic: ...from 12: 1048 bytes 888s # GLib-DEBUG: io-channel-basic: ...from 12: OK 888s # Executing: glib/io-channel-basic.test 889s # GLib-DEBUG: io-channel-basic: child writing 8+483 bytes to 17 889s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 889s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 889s # GLib-DEBUG: io-channel-basic: ...from 16: 483 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 16: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+2186 bytes to 11 889s # GLib-DEBUG: io-channel-basic: ...from 10: IN 889s # GLib-DEBUG: io-channel-basic: ...from 10: 2186 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 10: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+3808 bytes to 15 889s # GLib-DEBUG: io-channel-basic: ...from 14: IN 889s # GLib-DEBUG: io-channel-basic: ...from 14: 3808 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 14: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+4579 bytes to 13 889s # GLib-DEBUG: io-channel-basic: ...from 12: IN 889s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 889s # GLib-DEBUG: io-channel-basic: ...from 12: 4579 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 12: OK 889s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 889s # GLib-DEBUG: io-channel-basic: child writing 8+3999 bytes to 9 889s # GLib-DEBUG: io-channel-basic: ...from 8: IN 889s # GLib-DEBUG: io-channel-basic: ...from 8: 3999 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 8: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+3048 bytes to 11 889s # GLib-DEBUG: io-channel-basic: ...from 10: IN 889s # GLib-DEBUG: io-channel-basic: ...from 10: 3048 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 10: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+4825 bytes to 15 889s # GLib-DEBUG: io-channel-basic: ...from 14: IN 889s # GLib-DEBUG: io-channel-basic: ...from 14: 4825 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 14: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+4525 bytes to 9 889s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 889s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 889s # GLib-DEBUG: io-channel-basic: ...from 8: 4525 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 8: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+4633 bytes to 15 889s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 889s # GLib-DEBUG: io-channel-basic: ...from 14: IN 889s # GLib-DEBUG: io-channel-basic: ...from 14: 4633 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 14: OK 889s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 889s # GLib-DEBUG: io-channel-basic: child writing 8+912 bytes to 11 889s # GLib-DEBUG: io-channel-basic: ...from 10: IN 889s # GLib-DEBUG: io-channel-basic: ...from 10: 912 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 10: OK 889s # GLib-DEBUG: io-channel-basic: child writing 8+876 bytes to 11 889s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 889s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 889s # GLib-DEBUG: io-channel-basic: ...from 10: 876 bytes 889s # GLib-DEBUG: io-channel-basic: ...from 10: OK 889s ok 1 /gio/io-basics 889s # slow test /gio/io-basics executed in 12.54 secs 889s # End of gio tests 889s ok - glib/io-channel-basic.test 889s # Running test: glib/file.test 889s TAP version 14 889s # random seed: R02S4a5dc92d27539315eb3c1e19eed3a64f 889s 1..55 889s # Start of file tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/basic/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/basic/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/basic/.dirs/system-config1:/tmp/test_file_YAUBX2/file/basic/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/basic/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/basic/.dirs/system-data1:/tmp/test_file_YAUBX2/file/basic/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/basic/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/basic/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/basic/.dirs/runtime 889s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 889s ok 1 /file/basic 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/build-filename/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/build-filename/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/build-filename/.dirs/system-config1:/tmp/test_file_YAUBX2/file/build-filename/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/build-filename/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/build-filename/.dirs/system-data1:/tmp/test_file_YAUBX2/file/build-filename/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/build-filename/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/build-filename/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/build-filename/.dirs/runtime 889s ok 2 /file/build-filename 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_YAUBX2/file/build-filenamev/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_YAUBX2/file/build-filenamev/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/build-filenamev/.dirs/runtime 889s ok 3 /file/build-filenamev 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/parent/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/parent/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/parent/.dirs/system-config1:/tmp/test_file_YAUBX2/file/parent/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/parent/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/parent/.dirs/system-data1:/tmp/test_file_YAUBX2/file/parent/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/parent/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/parent/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/parent/.dirs/runtime 889s ok 4 /file/parent 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/child/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/child/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/child/.dirs/system-config1:/tmp/test_file_YAUBX2/file/child/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/child/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/child/.dirs/system-data1:/tmp/test_file_YAUBX2/file/child/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/child/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/child/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/child/.dirs/runtime 889s ok 5 /file/child 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/empty-path/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/empty-path/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/empty-path/.dirs/system-config1:/tmp/test_file_YAUBX2/file/empty-path/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/empty-path/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/empty-path/.dirs/system-data1:/tmp/test_file_YAUBX2/file/empty-path/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/empty-path/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/empty-path/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/empty-path/.dirs/runtime 889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 889s # /file/empty-path summary: Check that creating a file with an empty path results in errors 889s ok 6 /file/empty-path 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/type/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/type/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/type/.dirs/system-config1:/tmp/test_file_YAUBX2/file/type/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/type/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/type/.dirs/system-data1:/tmp/test_file_YAUBX2/file/type/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/type/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/type/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/type/.dirs/runtime 889s ok 7 /file/type 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/parse-name/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/parse-name/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/parse-name/.dirs/system-config1:/tmp/test_file_YAUBX2/file/parse-name/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/parse-name/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/parse-name/.dirs/system-data1:/tmp/test_file_YAUBX2/file/parse-name/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/parse-name/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/parse-name/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/parse-name/.dirs/runtime 889s ok 8 /file/parse-name 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace-load/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace-load/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace-load/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace-load/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace-load/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace-load/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace-load/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace-load/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace-load/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace-load/.dirs/runtime 889s ok 9 /file/replace-load 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace-cancel/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace-cancel/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace-cancel/.dirs/runtime 889s # Bug Reference: https://bugzilla.gnome.org/629301 889s ok 10 /file/replace-cancel 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace-symlink/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace-symlink/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace-symlink/.dirs/runtime 889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 889s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 889s # Using temporary directory /tmp/test_file_YAUBX2/g_file_replace_symlink_VFMBX2 889s ok 11 /file/replace-symlink 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-new-tmp/.dirs/runtime 889s ok 12 /file/async-new-tmp 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-new-tmp-dir/.dirs/runtime 889s ok 13 /file/async-new-tmp-dir 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-delete/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-delete/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-delete/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-delete/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-delete/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-delete/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-delete/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-delete/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-delete/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-delete/.dirs/runtime 889s ok 14 /file/async-delete 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-make-symlink/.dirs/runtime 889s ok 15 /file/async-make-symlink 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/copy-preserve-mode/.dirs/runtime 889s # Current umask: 2 889s # Vector 0 889s # Vector 1 889s # Vector 2 889s # Vector 3 889s # Vector 4 889s # Vector 5 889s # Vector 6 889s # Vector 7 889s # Vector 8 889s # Vector 9 889s # Vector 10 889s ok 16 /file/copy-preserve-mode 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/copy-async-with-closures/.dirs/runtime 889s ok 17 /file/copy-async-with-closures 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/measure/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/measure/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/measure/.dirs/system-config1:/tmp/test_file_YAUBX2/file/measure/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/measure/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/measure/.dirs/system-data1:/tmp/test_file_YAUBX2/file/measure/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/measure/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/measure/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/measure/.dirs/runtime 889s ok 18 /file/measure 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/measure-async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/measure-async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/measure-async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/measure-async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/measure-async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/measure-async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/measure-async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/measure-async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/measure-async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/measure-async/.dirs/runtime 889s ok 19 /file/measure-async 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/system-config1:/tmp/test_file_YAUBX2/file/load-bytes/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/system-data1:/tmp/test_file_YAUBX2/file/load-bytes/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/load-bytes/.dirs/runtime 889s ok 20 /file/load-bytes 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/load-bytes-async/.dirs/runtime 889s ok 21 /file/load-bytes-async 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/load-bytes-4gb/.dirs/runtime 889s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/load-contents-4gb/.dirs/runtime 889s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/load-contents-4gb-async/.dirs/runtime 889s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/.dirs/runtime 889s ok 25 /file/writev 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/build-attribute-list-for-copy/.dirs/runtime 889s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 889s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 889s # 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::* 889s # 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::* 889s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 889s # Attributes for copy: standard::size,xattr::* 889s # Attributes for copy: standard::size,unix::mode,xattr::* 889s ok 26 /file/build-attribute-list-for-copy 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/move_async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/move_async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/move_async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/move_async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/move_async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/move_async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/move_async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/move_async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/move_async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/move_async/.dirs/runtime 889s ok 27 /file/move_async 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/move-async-with-closures/.dirs/runtime 889s ok 28 /file/move-async-with-closures 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/query-zero-length-content-type/.dirs/runtime 889s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 889s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 889s ok 29 /file/query-zero-length-content-type 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/runtime 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/data/applications 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/config 889s ok 30 /file/query-default-handler-file 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/runtime 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/data/applications 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_YAUBX2/file/query-default-handler-file/.dirs/config to /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config 889s ok 31 /file/query-default-handler-file-async 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/runtime 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/data/applications 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_YAUBX2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config 889s ok 32 /file/query-default-handler-uri 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/runtime 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/data/applications 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/config 889s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_YAUBX2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/config 889s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_YAUBX2/file/query-default-handler-uri-async/.dirs/config 889s ok 33 /file/query-default-handler-uri-async 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/enumerator-cancellation/.dirs/runtime 889s ok 34 /file/enumerator-cancellation 889s # Start of async-create-delete tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-create-delete/0/.dirs/runtime 889s ok 35 /file/async-create-delete/0 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-create-delete/1/.dirs/runtime 890s ok 36 /file/async-create-delete/1 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-create-delete/10/.dirs/runtime 890s ok 37 /file/async-create-delete/10 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-create-delete/25/.dirs/runtime 890s ok 38 /file/async-create-delete/25 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/async-create-delete/4096/.dirs/runtime 890s ok 39 /file/async-create-delete/4096 890s # End of async-create-delete tests 890s # Start of replace-symlink tests 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace-symlink/using-etag/.dirs/runtime 890s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 890s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 890s # Using temporary directory /tmp/test_file_YAUBX2/g_file_replace_symlink_using_etag_E2D8W2 892s ok 40 /file/replace-symlink/using-etag 892s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 892s # End of replace-symlink tests 892s # Start of replace tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace/write-only/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace/write-only/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace/write-only/.dirs/runtime 892s # /file/replace/write-only summary: Test various situations for g_file_replace() 892s # Current umask: 2 892s # Test 0, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_F0N8W2 892s # Test 1, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_RHM8W2 892s # Test 2, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_89H8W2 892s # Test 3, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_5DJ8W2 892s # Test 4, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NMJ8W2 892s # Test 5, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_G3J8W2 892s # Test 6, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_FLVAX2 892s # Test 7, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_HFXAX2 892s # Test 8, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_1QSAX2 892s # Test 9, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_G3SAX2 892s # Test 10, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_XHUAX2 892s # Test 11, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_TH2AX2 892s # Test 12, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_VX2AX2 892s # Test 13, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_PJ1AX2 892s # Test 14, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_CFZAX2 892s # Test 15, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_6X0AX2 892s # Test 16, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_OL0AX2 892s # Test 17, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_PIIAX2 892s # Test 18, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_DFLAX2 892s # Test 19, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_PAGAX2 892s # Test 20, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_KUFAX2 892s # Test 21, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_H3GAX2 892s # Test 22, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_K6PAX2 892s # Test 23, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_67PAX2 892s # Test 24, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_SJRAX2 892s # Test 25, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_91QAX2 892s # Test 26, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_XIMAX2 892s # Test 27, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_EXMAX2 892s # Test 28, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_Z5NAX2 892s # Test 29, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_9ONAX2 892s # Test 30, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_RP69W2 892s # Test 31, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_6069W2 892s # Test 32, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_ZM69W2 892s # Test 33, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_U779W2 892s # Test 34, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_2O39W2 892s # Test 35, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_LV39W2 892s # Test 36, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_7F39W2 892s # Test 37, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_4T49W2 892s # Test 38, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_IHDAX2 892s # Test 39, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_5UEAX2 892s # Test 40, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_JEEAX2 892s # Test 41, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_KS99W2 892s # Test 42, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_JRAAX2 892s # Test 43, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_TLT9W2 892s # Test 44, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_77V9W2 892s # Test 45, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_OZU9W2 892s # Test 46, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NNR9W2 892s # Test 47, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_V7P9W2 892s # Test 48, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NQS9W2 892s # We do not have CAP_DAC_OVERRIDE or equivalent 892s ok 41 /file/replace/write-only 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_YAUBX2/file/replace/read-write/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_YAUBX2/file/replace/read-write/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/replace/read-write/.dirs/runtime 892s # /file/replace/read-write summary: Test various situations for g_file_replace() 892s # Current umask: 2 892s # Test 0, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_T2S9W2 892s # Test 1, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_9TR9W2 892s # Test 2, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_N409W2 892s # Test 3, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_J119W2 892s # Test 4, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_CH29W2 892s # Test 5, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_3N29W2 892s # Test 6, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NFX9W2 892s # Test 7, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_RJY9W2 892s # Test 8, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_WOY9W2 892s # Test 9, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_N210W2 892s # Test 10, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_0O10W2 892s # Test 11, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_A720W2 892s # Test 12, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_XE30W2 892s # Test 13, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_2H30W2 892s # Test 14, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NIY0W2 892s # Test 15, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_EU70W2 892s # Test 16, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_HC90W2 892s # Test 17, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_2S50W2 892s # Test 18, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_HG70W2 892s # Test 19, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_BVP0W2 892s # Test 20, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_P8Q0W2 892s # Test 21, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_LVQ0W2 892s # Test 22, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_2ZL0W2 892s # Test 23, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_C6L0W2 892s # Test 24, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_JJN0W2 892s # Test 25, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_61U0W2 892s # Test 26, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_R9U0W2 892s # Test 27, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_6FV0W2 892s # Test 28, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_POW0W2 892s # Test 29, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_I5S0W2 892s # Test 30, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_36S0W2 892s # Test 31, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_1XR0W2 892s # Test 32, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_LHT0W2 892s # Test 33, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_0AD0W2 892s # Test 34, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_5ED0W2 892s # Test 35, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_U3B0W2 892s # Test 36, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_2PD0W2 892s # Test 37, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_GBA0W2 892s # Test 38, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_6PB0W2 892s # Test 39, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_94I0W2 892s # Test 40, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_ZQI0W2 892s # Test 41, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_95J0W2 892s # Test 42, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_4HF0W2 892s # Test 43, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_L3G0W2 892s # Test 44, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_JHZZW2 892s # Test 45, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_NMZZW2 892s # Test 46, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_170ZW2 892s # Test 47, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_ME1ZW2 892s # Test 48, using temporary directory /tmp/test_file_YAUBX2/g_file_replace_FEWZW2 892s # We do not have CAP_DAC_OVERRIDE or equivalent 892s ok 42 /file/replace/read-write 892s # End of replace tests 892s # Start of copy tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/system-config1:/tmp/test_file_YAUBX2/file/copy/progress/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/system-data1:/tmp/test_file_YAUBX2/file/copy/progress/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/copy/progress/.dirs/runtime 892s ok 43 /file/copy/progress 892s # End of copy tests 892s # Start of writev tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/no-bytes-written/.dirs/runtime 892s ok 44 /file/writev/no-bytes-written 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/no-vectors/.dirs/runtime 892s ok 45 /file/writev/no-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/empty-vectors/.dirs/runtime 892s ok 46 /file/writev/empty-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/too-big-vectors/.dirs/runtime 892s ok 47 /file/writev/too-big-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async/.dirs/runtime 892s ok 48 /file/writev/async 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async_all/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async_all/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async_all/.dirs/runtime 892s ok 49 /file/writev/async_all 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async_all-empty-vectors/.dirs/runtime 892s ok 50 /file/writev/async_all-empty-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async_all-no-vectors/.dirs/runtime 892s ok 51 /file/writev/async_all-no-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async_all-to-big-vectors/.dirs/runtime 892s ok 52 /file/writev/async_all-to-big-vectors 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/writev/async_all-cancellation/.dirs/runtime 892s ok 53 /file/writev/async_all-cancellation 892s # End of writev tests 892s # Start of from-uri tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/from-uri/ignores-query-string/.dirs/runtime 892s ok 54 /file/from-uri/ignores-query-string 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_YAUBX2/file/from-uri/ignores-fragment/.dirs/runtime 892s ok 55 /file/from-uri/ignores-fragment 892s # End of from-uri tests 892s # End of file tests 892s ok - glib/file.test 892s # Running test: glib/completion.test 892s TAP version 14 892s # random seed: R02S4615ce3782c3f81e27a4575f592ef5e8 892s 1..1 892s # Start of completion tests 892s ok 1 /completion/test-completion 892s # End of completion tests 892s ok - glib/completion.test 892s # Running test: glib/throws.test 892s TAP version 14 892s # random seed: R02Sa439344510d8d46755252900e020b05b 892s 1..3 892s # Start of throws tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_3UE2W2/throws/invoke-gerror/.dirs/runtime 892s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 892s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 892s ok 1 /throws/invoke-gerror 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_3UE2W2/throws/vfunc-can-throw-gerror/.dirs/runtime 892s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 892s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 892s ok 2 /throws/vfunc-can-throw-gerror 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_3UE2W2/throws/callback-can-throw-gerror/.dirs/runtime 892s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 892s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 892s ok 3 /throws/callback-can-throw-gerror 892s # End of throws tests 892s ok - glib/throws.test 892s # Running test: glib/rec-mutex.test 892s TAP version 14 892s # random seed: R02Se7f39656523b80af63b4d215949511b7 892s 1..29 892s # Start of thread tests 892s ok 1 /thread/rec-mutex1 892s ok 2 /thread/rec-mutex2 892s ok 3 /thread/rec-mutex3 892s ok 4 /thread/rec-mutex4 892s # Start of rec-mutex tests 892s # Start of perf tests 892s # Start of uncontended tests 892s # max perf: inf mips 892s ok 5 /thread/rec-mutex/perf/uncontended/depth1 892s # max perf: 1.000000 mips 892s ok 6 /thread/rec-mutex/perf/uncontended/depth2 892s # max perf: inf mips 892s ok 7 /thread/rec-mutex/perf/uncontended/depth3 892s # max perf: 1.000000 mips 892s ok 8 /thread/rec-mutex/perf/uncontended/depth4 892s # max perf: 1.000000 mips 892s ok 9 /thread/rec-mutex/perf/uncontended/depth5 892s # End of uncontended tests 892s # Start of contended1 tests 892s # max perf: 2.000000 mips 892s ok 10 /thread/rec-mutex/perf/contended1/depth1 892s # max perf: 2.000000 mips 892s ok 11 /thread/rec-mutex/perf/contended1/depth2 892s # max perf: inf mips 892s ok 12 /thread/rec-mutex/perf/contended1/depth3 892s # max perf: 2.000000 mips 892s ok 13 /thread/rec-mutex/perf/contended1/depth4 892s # max perf: 2.000000 mips 892s ok 14 /thread/rec-mutex/perf/contended1/depth5 892s # End of contended1 tests 892s # Start of contended2 tests 892s # max perf: inf mips 892s ok 15 /thread/rec-mutex/perf/contended2/depth1 892s # max perf: 3.000000 mips 892s ok 16 /thread/rec-mutex/perf/contended2/depth2 892s # max perf: 3.000000 mips 892s ok 17 /thread/rec-mutex/perf/contended2/depth3 892s # max perf: 3.000000 mips 892s ok 18 /thread/rec-mutex/perf/contended2/depth4 892s # max perf: 3.000000 mips 892s ok 19 /thread/rec-mutex/perf/contended2/depth5 892s # End of contended2 tests 892s # Start of contended3 tests 892s # max perf: 1.333333 mips 892s ok 20 /thread/rec-mutex/perf/contended3/depth1 892s # max perf: 4.000000 mips 892s ok 21 /thread/rec-mutex/perf/contended3/depth2 892s # max perf: 4.000000 mips 892s ok 22 /thread/rec-mutex/perf/contended3/depth3 892s # max perf: 4.000000 mips 892s ok 23 /thread/rec-mutex/perf/contended3/depth4 892s # max perf: 2.000000 mips 892s ok 24 /thread/rec-mutex/perf/contended3/depth5 892s # End of contended3 tests 892s # Start of contended4 tests 892s # max perf: 1.250000 mips 892s ok 25 /thread/rec-mutex/perf/contended4/depth1 892s # max perf: 1.666667 mips 892s ok 26 /thread/rec-mutex/perf/contended4/depth2 892s # max perf: 0.833333 mips 892s ok 27 /thread/rec-mutex/perf/contended4/depth3 892s # max perf: 1.000000 mips 892s ok 28 /thread/rec-mutex/perf/contended4/depth4 892s # max perf: 1.666667 mips 892s ok 29 /thread/rec-mutex/perf/contended4/depth5 892s # End of contended4 tests 892s # End of perf tests 892s # End of rec-mutex tests 892s # End of thread tests 892s ok - glib/rec-mutex.test 892s # Running test: glib/memory-output-stream.test 892s TAP version 14 892s # random seed: R02S5d8b64adab82c83e0789fea8c3981800 892s 1..10 892s # Start of memory-output-stream tests 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 892s ok 1 /memory-output-stream/truncate 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 892s ok 2 /memory-output-stream/get-data-size 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 892s ok 3 /memory-output-stream/properties 892s ok 4 /memory-output-stream/write-bytes 892s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 892s ok 5 /memory-output-stream/write-null 892s ok 6 /memory-output-stream/writev 892s ok 7 /memory-output-stream/writev_nonblocking 892s ok 8 /memory-output-stream/steal_as_bytes 892s # Start of seek tests 892s ok 9 /memory-output-stream/seek/fixed 892s ok 10 /memory-output-stream/seek/resizable 892s # End of seek tests 892s # End of memory-output-stream tests 892s ok - glib/memory-output-stream.test 892s # Running test: glib/logging.test 892s TAP version 14 892s # random seed: R02Sfbf89bc7fe0a11948aaf6ea1f8dc05b6 892s 1..17 892s # Start of logging tests 893s ok 1 /logging/default-handler 893s # slow test /logging/default-handler executed in 1.12 secs 893s ok 2 /logging/warnings 893s ok 3 /logging/fatal-log-mask 893s # bu-DEBUG: message 893s # ba-DEBUG: message 893s # ba-INFO: message 893s ok 4 /logging/set-handler 893s ok 5 /logging/print-handler 893s ok 6 /logging/printerr-handler 893s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 893s # The Log Message Handler 893s # 893s # The Good Fail Message Handler 893s # 893s ok 7 /logging/653052 893s ok 8 /logging/gibberish 893s # Start of default-handler tests 893s # Start of subprocess tests 893s # End of subprocess tests 893s # End of default-handler tests 893s # End of logging tests 893s # Start of structured-logging tests 893s ok 9 /structured-logging/no-state 893s ok 10 /structured-logging/some-state 893s ok 11 /structured-logging/robustness 893s ok 12 /structured-logging/roundtrip1 893s ok 13 /structured-logging/roundtrip2 893s ok 14 /structured-logging/roundtrip3 893s ok 15 /structured-logging/variant1 893s ok 16 /structured-logging/variant2 893s ok 17 /structured-logging/set-writer-func-twice 893s # End of structured-logging tests 893s ok - glib/logging.test 893s # Running test: glib/signalgroup.test 893s TAP version 14 893s # random seed: R02S91224378424e2a67ca84218d53111811 893s 1..9 893s # Start of GObject tests 893s # Start of SignalGroup tests 893s ok 1 /GObject/SignalGroup/invalid 893s ok 2 /GObject/SignalGroup/simple 893s ok 3 /GObject/SignalGroup/changing-target 893s ok 4 /GObject/SignalGroup/blocking 893s ok 5 /GObject/SignalGroup/weak-ref-target 893s ok 6 /GObject/SignalGroup/connect-object 893s ok 7 /GObject/SignalGroup/signal-parsing 893s ok 8 /GObject/SignalGroup/properties 893s ok 9 /GObject/SignalGroup/interface 893s # Start of signal-parsing tests 893s # End of signal-parsing tests 893s # End of SignalGroup tests 893s # End of GObject tests 893s ok - glib/signalgroup.test 893s # Running test: glib/macros-c-17.test 893s TAP version 14 893s # random seed: R02Sfa1bddde524098d36ae3cc94b07136dc 893s 1..4 893s # Start of C tests 893s ok 1 /C/standard-17 893s # End of C tests 893s # Start of alignof tests 893s ok 2 /alignof/fallback 893s # End of alignof tests 893s # Start of assert tests 893s ok 3 /assert/static 893s # End of assert tests 893s # Start of struct tests 893s ok 4 /struct/sizeof_member 893s # End of struct tests 893s ok - glib/macros-c-17.test 893s # Running test: glib/closure-refcount.test 893s TAP version 14 893s # random seed: R02Sebb81fea6e131b806ac80c22b407e3f1 893s 1..1 893s # Start of closure tests 893s # Init 0x11bfe8e8 893s # Yielding from thread2 893s # Yielding from thread1 893s # Executing: glib/closure-refcount.test 893s # Yielding from thread2 893s # Yielding from thread1 894s # Yielding from thread2 894s # Yielding from thread1 894s # Yielding from main thread 894s # Yielding from thread2 894s # Yielding from thread1 894s # Yielding from thread1 894s # Yielding from thread2 894s # Yielding from thread1 894s # Yielding from thread2 894s # Yielding from main thread 894s # Yielding from thread1 894s # Yielding from thread2 894s # Yielding from thread1 895s # Yielding from thread2 895s # Yielding from thread1 895s # Yielding from main thread 895s # Yielding from thread2 895s # Yielding from thread1 895s # Yielding from thread2 895s # Yielding from thread1 895s # Yielding from thread2 895s # Yielding from thread1 895s # Yielding from main thread 895s # Yielding from thread2 895s # Yielding from thread1 896s # Yielding from thread2 896s # Yielding from thread1 896s # Yielding from thread2 896s # Yielding from thread1 896s # Yielding from main thread 896s # Yielding from thread2 896s # Yielding from thread1 896s # Yielding from thread2 896s # Yielding from thread1 896s # Yielding from thread2 896s # Yielding from main thread 896s # Yielding from thread1 897s # Yielding from thread2 897s # Yielding from thread1 897s # Yielding from thread2 897s # Yielding from thread1 897s # Yielding from main thread 897s # Yielding from thread1 897s # Yielding from thread2 897s # Yielding from thread1 897s # Yielding from thread2 897s # Yielding from thread1 897s # Yielding from thread2 897s # Yielding from main thread 897s # Yielding from thread1 898s # Yielding from thread2 898s # Yielding from thread1 898s # Yielding from thread2 898s # Yielding from thread1 898s # Yielding from thread2 898s # Yielding from main thread 898s # Yielding from thread1 898s # Yielding from thread2 898s # Yielding from thread1 898s # Yielding from thread2 898s # Yielding from thread1 898s # Executing: glib/closure-refcount.test 899s # Stopping 899s # Stopped 899s ok 1 /closure/refcount 899s # slow test /closure/refcount executed in 5.43 secs 899s # End of closure tests 899s ok - glib/closure-refcount.test 899s # Running test: glib/mutex.test 899s TAP version 14 899s # random seed: R02S58d728a3856d23d08daa40d4051cf934 899s 1..17 899s # Start of thread tests 899s ok 1 /thread/mutex1 899s ok 2 /thread/mutex2 899s ok 3 /thread/mutex3 899s ok 4 /thread/mutex4 900s ok 5 /thread/mutex5 900s # slow test /thread/mutex5 executed in 1.03 secs 900s # Start of mutex tests 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s # /thread/mutex/errno summary: Validates that errno is not touched upon return 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 900s ok 6 /thread/mutex/errno 900s # Start of perf tests 900s # max perf: inf mips 900s ok 7 /thread/mutex/perf/uncontended 900s # Start of contended tests 900s # max perf: 2.000000 mips 900s ok 8 /thread/mutex/perf/contended/1 900s # max perf: inf mips 900s ok 9 /thread/mutex/perf/contended/2 900s # max perf: 2.000000 mips 900s ok 10 /thread/mutex/perf/contended/3 900s # max perf: 1.666667 mips 900s ok 11 /thread/mutex/perf/contended/4 900s # max perf: 1.200000 mips 900s ok 12 /thread/mutex/perf/contended/5 900s # max perf: 0.500000 mips 900s ok 13 /thread/mutex/perf/contended/6 900s # max perf: 0.800000 mips 900s ok 14 /thread/mutex/perf/contended/7 900s # max perf: 0.562500 mips 900s ok 15 /thread/mutex/perf/contended/8 900s # max perf: 5.000000 mips 900s ok 16 /thread/mutex/perf/contended/9 900s # max perf: 1.000000 mips 900s ok 17 /thread/mutex/perf/contended/10 900s # End of contended tests 900s # End of perf tests 900s # End of mutex tests 900s # End of thread tests 900s ok - glib/mutex.test 900s # Running test: glib/gdbus-peer-object-manager.test 900s TAP version 14 900s # random seed: R02S17bc55483d366458ff75b38bc81f2840 900s 1..2 900s # Start of gdbus tests 900s # Start of peer-object-manager tests 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/normal/.dirs/runtime 900s ok 1 /gdbus/peer-object-manager/normal 900s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/home 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/cache 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/system-config2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/config 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/system-data2 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/data 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/state 900s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_HK30W2/gdbus/peer-object-manager/root/.dirs/runtime 900s ok 2 /gdbus/peer-object-manager/root 900s # End of peer-object-manager tests 900s # End of gdbus tests 900s ok - glib/gdbus-peer-object-manager.test 900s # Running test: glib/atomic-c-99.test 900s TAP version 14 900s # random seed: R02S0a430d02250c37cd6a7253cb9692e3ba 900s 1..2 900s # Start of atomic tests 900s ok 1 /atomic/types 900s ok 2 /atomic/threaded 900s # End of atomic tests 900s ok - glib/atomic-c-99.test 900s # Running test: glib/mem-overflow.test 900s TAP version 14 900s # random seed: R02Sab248b0fd75d87b4913584ded4c489de 900s 1..2 900s # Start of mem tests 900s ok 1 /mem/overflow 900s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 900s ok 2 /mem/empty-alloc 900s # Start of overflow tests 900s # Start of subprocess tests 900s # End of subprocess tests 900s # End of overflow tests 900s # Start of empty-alloc tests 900s # End of empty-alloc tests 900s # End of mem tests 900s ok - glib/mem-overflow.test 900s # Running test: glib/volumemonitor.test 900s TAP version 14 900s # random seed: R02Sfb900dae4ec84e3ac632ca66795646c9 900s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 900s 1..3 900s # Start of volumemonitor tests 900s ok 1 /volumemonitor/connected_drives 900s ok 2 /volumemonitor/volumes 900s ok 3 /volumemonitor/mounts 900s # End of volumemonitor tests 900s ok - glib/volumemonitor.test 900s # Running test: glib/timeout.test 900s TAP version 14 900s # random seed: R02Sc870667d0ef2646f81f06297e5afc82c 900s 1..5 900s # Start of timeout tests 900s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 902s ok 1 /timeout/seconds 902s # slow test /timeout/seconds executed in 2.10 secs 903s # Executing: glib/timeout.test 904s ok 2 /timeout/seconds-once 904s # slow test /timeout/seconds-once executed in 2.10 secs 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 906s ok 3 /timeout/weeks-overflow 906s # slow test /timeout/weeks-overflow executed in 2.10 secs 906s ok 4 /timeout/far-future-ready-time 906s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 906s # End of timeout tests 906s ok - glib/timeout.test 906s # Running test: glib/mount-operation.test 906s TAP version 14 906s # random seed: R02Sf9c2ef1ff153d21535a17e7970b04176 906s 1..2 906s # Start of mount-operation tests 906s ok 1 /mount-operation/construction 906s ok 2 /mount-operation/properties 906s # End of mount-operation tests 906s ok - glib/mount-operation.test 906s # Running test: glib/pollable.test 906s TAP version 14 906s # random seed: R02S2663346842477bdefec0e5fb0e478200 906s 1..6 906s # Start of pollable tests 906s ok 1 /pollable/converter 906s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 906s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc7fcbd0 and GSocketClientAsyncConnectData 0xc7f6150 906s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 906s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 906s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc7fd790 for GSocketClientAsyncConnectData 0xc7f6150 906s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 906s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 906s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 906s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 906s ok 2 /pollable/socket 906s # Start of unix tests 906s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 906s ok 3 /pollable/unix/pipe 906s # /pollable/unix/pty summary: Test that PTYs are considered pollable 906s ok 4 /pollable/unix/pty 906s # /pollable/unix/file summary: Test that regular files are not considered pollable 906s ok 5 /pollable/unix/file 906s # /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 906s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 906s # End of unix tests 906s # End of pollable tests 906s ok - glib/pollable.test 906s # Running test: glib/static-link.test 906s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 906s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 906s and make sure you have glib build dependencies installed, including 906s meson. 906s ok # SKIP - glib/static-link.test 906s # Running test: glib/mimeapps.test 906s TAP version 14 906s # random seed: R02S64ec0a418c61ecf33a3c45febd4a8f8e 906s 1..7 906s # Start of appinfo tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 906s ok 1 /appinfo/all 906s # Start of mime tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config 906s ok 2 /appinfo/mime/api 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config 906s ok 3 /appinfo/mime/default 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config 906s ok 4 /appinfo/mime/file 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/config 906s ok 5 /appinfo/mime/scheme-handler 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config 906s ok 6 /appinfo/mime/default-last-used 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/runtime 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 906s # removing '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 906s # creating '/tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 906s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_O49BX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_O49BX2/appinfo/mime/ignore-nonexisting/.dirs/config 906s ok 7 /appinfo/mime/ignore-nonexisting 906s # End of mime tests 906s # End of appinfo tests 906s ok - glib/mimeapps.test 906s # Running test: glib/scannerapi.test 906s TAP version 14 906s # random seed: R02S058f4037e3f4588d727df90ef978275f 906s 1..4 906s # Start of scanner tests 906s ok 1 /scanner/warn 906s ok 2 /scanner/error 906s ok 3 /scanner/symbols 906s ok 4 /scanner/tokens 906s # End of scanner tests 906s ok - glib/scannerapi.test 906s # Running test: glib/utils-isolated.test 906s TAP version 14 906s # random seed: R02S7fee06a79828d8536d97c199df989986 906s 1..11 906s # Start of utils-isolated tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/tmp-dir/.dirs/runtime 906s ok 1 /utils-isolated/tmp-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/home-dir/.dirs/runtime 906s ok 2 /utils-isolated/home-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-cache-dir/.dirs/runtime 906s ok 3 /utils-isolated/user-cache-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-config-dirs/.dirs/runtime 906s ok 4 /utils-isolated/system-config-dirs 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-config-dir/.dirs/runtime 906s ok 5 /utils-isolated/user-config-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/system-data-dirs/.dirs/runtime 906s ok 6 /utils-isolated/system-data-dirs 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-data-dir/.dirs/runtime 906s ok 7 /utils-isolated/user-data-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-state-dir/.dirs/runtime 906s ok 8 /utils-isolated/user-state-dir 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/user-runtime-dir/.dirs/runtime 906s ok 9 /utils-isolated/user-runtime-dir 906s # Start of cleanup tests 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 906s Unable to clean up temporary directory /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 906s Unable to clean up temporary directory /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 906s Unable to clean up temporary directory /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/handles-errors: Directory not empty 906s ok 10 /utils-isolated/cleanup/handles-errors 906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 906s Unable to clean up temporary directory /tmp/test_utils-isolated_1JMCX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 906s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 906s # End of cleanup tests 906s # End of utils-isolated tests 906s ok - glib/utils-isolated.test 906s # Running test: glib/checksum.test 906s TAP version 14 906s # random seed: R02S5d0b21037fe5385f817ddb579ec975a2 906s 1..1851 906s # Start of checksum tests 906s ok 1 /checksum/unsupported 906s # Start of MD5 tests 906s ok 2 /checksum/MD5/0 906s ok 3 /checksum/MD5/1 906s ok 4 /checksum/MD5/2 906s ok 5 /checksum/MD5/3 906s ok 6 /checksum/MD5/4 906s ok 7 /checksum/MD5/5 906s ok 8 /checksum/MD5/6 906s ok 9 /checksum/MD5/7 906s ok 10 /checksum/MD5/8 906s ok 11 /checksum/MD5/9 906s ok 12 /checksum/MD5/10 906s ok 13 /checksum/MD5/11 906s ok 14 /checksum/MD5/12 906s ok 15 /checksum/MD5/13 906s ok 16 /checksum/MD5/14 906s ok 17 /checksum/MD5/15 906s ok 18 /checksum/MD5/16 906s ok 19 /checksum/MD5/17 906s ok 20 /checksum/MD5/18 906s ok 21 /checksum/MD5/19 906s ok 22 /checksum/MD5/20 906s ok 23 /checksum/MD5/21 906s ok 24 /checksum/MD5/22 906s ok 25 /checksum/MD5/23 906s ok 26 /checksum/MD5/24 906s ok 27 /checksum/MD5/25 906s ok 28 /checksum/MD5/26 906s ok 29 /checksum/MD5/27 906s ok 30 /checksum/MD5/28 906s ok 31 /checksum/MD5/29 906s ok 32 /checksum/MD5/30 906s ok 33 /checksum/MD5/31 906s ok 34 /checksum/MD5/32 906s ok 35 /checksum/MD5/33 906s ok 36 /checksum/MD5/34 906s ok 37 /checksum/MD5/35 906s ok 38 /checksum/MD5/36 906s ok 39 /checksum/MD5/37 906s ok 40 /checksum/MD5/38 906s ok 41 /checksum/MD5/39 906s ok 42 /checksum/MD5/40 906s ok 43 /checksum/MD5/41 906s ok 44 /checksum/MD5/42 906s ok 45 /checksum/MD5/43 906s ok 46 /checksum/MD5/44 906s ok 47 /checksum/MD5/45 906s ok 48 /checksum/MD5/46 906s ok 49 /checksum/MD5/47 906s ok 50 /checksum/MD5/48 906s ok 51 /checksum/MD5/49 906s ok 52 /checksum/MD5/50 906s ok 53 /checksum/MD5/51 906s ok 54 /checksum/MD5/52 906s ok 55 /checksum/MD5/53 906s ok 56 /checksum/MD5/54 906s ok 57 /checksum/MD5/55 906s ok 58 /checksum/MD5/56 906s ok 59 /checksum/MD5/57 906s ok 60 /checksum/MD5/58 906s ok 61 /checksum/MD5/59 906s ok 62 /checksum/MD5/60 906s ok 63 /checksum/MD5/61 906s ok 64 /checksum/MD5/62 906s ok 65 /checksum/MD5/63 906s ok 66 /checksum/MD5/64 906s ok 67 /checksum/MD5/65 906s ok 68 /checksum/MD5/66 906s ok 69 /checksum/MD5/67 906s ok 70 /checksum/MD5/68 906s ok 71 /checksum/MD5/69 906s ok 72 /checksum/MD5/70 906s ok 73 /checksum/MD5/71 906s ok 74 /checksum/MD5/72 906s ok 75 /checksum/MD5/73 906s ok 76 /checksum/MD5/74 906s ok 77 /checksum/MD5/75 906s ok 78 /checksum/MD5/76 906s ok 79 /checksum/MD5/77 906s ok 80 /checksum/MD5/78 906s ok 81 /checksum/MD5/79 906s ok 82 /checksum/MD5/80 906s ok 83 /checksum/MD5/81 906s ok 84 /checksum/MD5/82 906s ok 85 /checksum/MD5/83 906s ok 86 /checksum/MD5/84 906s ok 87 /checksum/MD5/85 906s ok 88 /checksum/MD5/86 906s ok 89 /checksum/MD5/87 906s ok 90 /checksum/MD5/88 906s ok 91 /checksum/MD5/89 906s ok 92 /checksum/MD5/90 906s ok 93 /checksum/MD5/91 906s ok 94 /checksum/MD5/92 906s ok 95 /checksum/MD5/93 906s ok 96 /checksum/MD5/94 906s ok 97 /checksum/MD5/95 906s ok 98 /checksum/MD5/96 906s ok 99 /checksum/MD5/97 906s ok 100 /checksum/MD5/98 906s ok 101 /checksum/MD5/99 906s ok 102 /checksum/MD5/100 906s ok 103 /checksum/MD5/101 906s ok 104 /checksum/MD5/102 906s ok 105 /checksum/MD5/103 906s ok 106 /checksum/MD5/104 906s ok 107 /checksum/MD5/105 906s ok 108 /checksum/MD5/106 906s ok 109 /checksum/MD5/107 906s ok 110 /checksum/MD5/108 906s ok 111 /checksum/MD5/109 906s ok 112 /checksum/MD5/110 906s ok 113 /checksum/MD5/111 906s ok 114 /checksum/MD5/112 906s ok 115 /checksum/MD5/113 906s ok 116 /checksum/MD5/114 906s ok 117 /checksum/MD5/115 906s ok 118 /checksum/MD5/116 906s ok 119 /checksum/MD5/117 906s ok 120 /checksum/MD5/118 906s ok 121 /checksum/MD5/119 906s ok 122 /checksum/MD5/120 906s ok 123 /checksum/MD5/121 906s ok 124 /checksum/MD5/122 906s ok 125 /checksum/MD5/123 906s ok 126 /checksum/MD5/124 906s ok 127 /checksum/MD5/125 906s ok 128 /checksum/MD5/126 906s ok 129 /checksum/MD5/127 906s ok 130 /checksum/MD5/128 906s ok 131 /checksum/MD5/129 906s ok 132 /checksum/MD5/130 906s ok 133 /checksum/MD5/131 906s ok 134 /checksum/MD5/132 906s ok 135 /checksum/MD5/133 906s ok 136 /checksum/MD5/134 906s ok 137 /checksum/MD5/135 906s ok 138 /checksum/MD5/136 906s ok 139 /checksum/MD5/137 906s ok 140 /checksum/MD5/138 906s ok 141 /checksum/MD5/139 906s ok 142 /checksum/MD5/140 906s ok 143 /checksum/MD5/141 906s ok 144 /checksum/MD5/142 906s ok 145 /checksum/MD5/143 906s ok 146 /checksum/MD5/144 906s ok 147 /checksum/MD5/145 906s ok 148 /checksum/MD5/146 906s ok 149 /checksum/MD5/147 906s ok 150 /checksum/MD5/148 906s ok 151 /checksum/MD5/149 906s ok 152 /checksum/MD5/150 906s ok 153 /checksum/MD5/151 906s ok 154 /checksum/MD5/152 906s ok 155 /checksum/MD5/153 906s ok 156 /checksum/MD5/154 906s ok 157 /checksum/MD5/155 906s ok 158 /checksum/MD5/156 906s ok 159 /checksum/MD5/157 906s ok 160 /checksum/MD5/158 906s ok 161 /checksum/MD5/159 906s ok 162 /checksum/MD5/160 906s ok 163 /checksum/MD5/161 906s ok 164 /checksum/MD5/162 906s ok 165 /checksum/MD5/163 906s ok 166 /checksum/MD5/164 906s ok 167 /checksum/MD5/165 906s ok 168 /checksum/MD5/166 906s ok 169 /checksum/MD5/167 906s ok 170 /checksum/MD5/168 906s ok 171 /checksum/MD5/169 906s ok 172 /checksum/MD5/170 906s ok 173 /checksum/MD5/171 906s ok 174 /checksum/MD5/172 906s ok 175 /checksum/MD5/173 906s ok 176 /checksum/MD5/174 906s ok 177 /checksum/MD5/175 906s ok 178 /checksum/MD5/176 906s ok 179 /checksum/MD5/177 906s ok 180 /checksum/MD5/178 906s ok 181 /checksum/MD5/179 906s ok 182 /checksum/MD5/180 906s ok 183 /checksum/MD5/181 906s ok 184 /checksum/MD5/182 906s ok 185 /checksum/MD5/183 906s ok 186 /checksum/MD5/string 906s ok 187 /checksum/MD5/bytes 906s # Start of reset tests 906s ok 188 /checksum/MD5/reset/0 906s ok 189 /checksum/MD5/reset/1 906s ok 190 /checksum/MD5/reset/2 906s ok 191 /checksum/MD5/reset/3 906s ok 192 /checksum/MD5/reset/4 906s ok 193 /checksum/MD5/reset/5 906s ok 194 /checksum/MD5/reset/6 906s ok 195 /checksum/MD5/reset/7 906s ok 196 /checksum/MD5/reset/8 906s ok 197 /checksum/MD5/reset/9 906s ok 198 /checksum/MD5/reset/10 906s ok 199 /checksum/MD5/reset/11 906s ok 200 /checksum/MD5/reset/12 906s ok 201 /checksum/MD5/reset/13 906s ok 202 /checksum/MD5/reset/14 906s ok 203 /checksum/MD5/reset/15 906s ok 204 /checksum/MD5/reset/16 906s ok 205 /checksum/MD5/reset/17 906s ok 206 /checksum/MD5/reset/18 906s ok 207 /checksum/MD5/reset/19 906s ok 208 /checksum/MD5/reset/20 906s ok 209 /checksum/MD5/reset/21 906s ok 210 /checksum/MD5/reset/22 906s ok 211 /checksum/MD5/reset/23 906s ok 212 /checksum/MD5/reset/24 906s ok 213 /checksum/MD5/reset/25 906s ok 214 /checksum/MD5/reset/26 906s ok 215 /checksum/MD5/reset/27 906s ok 216 /checksum/MD5/reset/28 906s ok 217 /checksum/MD5/reset/29 906s ok 218 /checksum/MD5/reset/30 906s ok 219 /checksum/MD5/reset/31 906s ok 220 /checksum/MD5/reset/32 906s ok 221 /checksum/MD5/reset/33 906s ok 222 /checksum/MD5/reset/34 906s ok 223 /checksum/MD5/reset/35 906s ok 224 /checksum/MD5/reset/36 906s ok 225 /checksum/MD5/reset/37 906s ok 226 /checksum/MD5/reset/38 906s ok 227 /checksum/MD5/reset/39 906s ok 228 /checksum/MD5/reset/40 906s ok 229 /checksum/MD5/reset/41 906s ok 230 /checksum/MD5/reset/42 906s ok 231 /checksum/MD5/reset/43 906s ok 232 /checksum/MD5/reset/44 906s ok 233 /checksum/MD5/reset/45 906s ok 234 /checksum/MD5/reset/46 906s ok 235 /checksum/MD5/reset/47 906s ok 236 /checksum/MD5/reset/48 906s ok 237 /checksum/MD5/reset/49 906s ok 238 /checksum/MD5/reset/50 906s ok 239 /checksum/MD5/reset/51 906s ok 240 /checksum/MD5/reset/52 906s ok 241 /checksum/MD5/reset/53 906s ok 242 /checksum/MD5/reset/54 906s ok 243 /checksum/MD5/reset/55 906s ok 244 /checksum/MD5/reset/56 906s ok 245 /checksum/MD5/reset/57 906s ok 246 /checksum/MD5/reset/58 906s ok 247 /checksum/MD5/reset/59 906s ok 248 /checksum/MD5/reset/60 906s ok 249 /checksum/MD5/reset/61 906s ok 250 /checksum/MD5/reset/62 906s ok 251 /checksum/MD5/reset/63 906s ok 252 /checksum/MD5/reset/64 906s ok 253 /checksum/MD5/reset/65 906s ok 254 /checksum/MD5/reset/66 906s ok 255 /checksum/MD5/reset/67 906s ok 256 /checksum/MD5/reset/68 906s ok 257 /checksum/MD5/reset/69 906s ok 258 /checksum/MD5/reset/70 906s ok 259 /checksum/MD5/reset/71 906s ok 260 /checksum/MD5/reset/72 906s ok 261 /checksum/MD5/reset/73 906s ok 262 /checksum/MD5/reset/74 906s ok 263 /checksum/MD5/reset/75 906s ok 264 /checksum/MD5/reset/76 906s ok 265 /checksum/MD5/reset/77 906s ok 266 /checksum/MD5/reset/78 906s ok 267 /checksum/MD5/reset/79 906s ok 268 /checksum/MD5/reset/80 906s ok 269 /checksum/MD5/reset/81 906s ok 270 /checksum/MD5/reset/82 906s ok 271 /checksum/MD5/reset/83 906s ok 272 /checksum/MD5/reset/84 906s ok 273 /checksum/MD5/reset/85 906s ok 274 /checksum/MD5/reset/86 906s ok 275 /checksum/MD5/reset/87 906s ok 276 /checksum/MD5/reset/88 906s ok 277 /checksum/MD5/reset/89 906s ok 278 /checksum/MD5/reset/90 906s ok 279 /checksum/MD5/reset/91 906s ok 280 /checksum/MD5/reset/92 906s ok 281 /checksum/MD5/reset/93 906s ok 282 /checksum/MD5/reset/94 906s ok 283 /checksum/MD5/reset/95 906s ok 284 /checksum/MD5/reset/96 906s ok 285 /checksum/MD5/reset/97 906s ok 286 /checksum/MD5/reset/98 906s ok 287 /checksum/MD5/reset/99 906s ok 288 /checksum/MD5/reset/100 906s ok 289 /checksum/MD5/reset/101 906s ok 290 /checksum/MD5/reset/102 906s ok 291 /checksum/MD5/reset/103 906s ok 292 /checksum/MD5/reset/104 906s ok 293 /checksum/MD5/reset/105 906s ok 294 /checksum/MD5/reset/106 906s ok 295 /checksum/MD5/reset/107 906s ok 296 /checksum/MD5/reset/108 906s ok 297 /checksum/MD5/reset/109 906s ok 298 /checksum/MD5/reset/110 906s ok 299 /checksum/MD5/reset/111 906s ok 300 /checksum/MD5/reset/112 906s ok 301 /checksum/MD5/reset/113 906s ok 302 /checksum/MD5/reset/114 906s ok 303 /checksum/MD5/reset/115 906s ok 304 /checksum/MD5/reset/116 906s ok 305 /checksum/MD5/reset/117 906s ok 306 /checksum/MD5/reset/118 906s ok 307 /checksum/MD5/reset/119 906s ok 308 /checksum/MD5/reset/120 906s ok 309 /checksum/MD5/reset/121 906s ok 310 /checksum/MD5/reset/122 906s ok 311 /checksum/MD5/reset/123 906s ok 312 /checksum/MD5/reset/124 906s ok 313 /checksum/MD5/reset/125 906s ok 314 /checksum/MD5/reset/126 906s ok 315 /checksum/MD5/reset/127 906s ok 316 /checksum/MD5/reset/128 906s ok 317 /checksum/MD5/reset/129 906s ok 318 /checksum/MD5/reset/130 906s ok 319 /checksum/MD5/reset/131 906s ok 320 /checksum/MD5/reset/132 906s ok 321 /checksum/MD5/reset/133 906s ok 322 /checksum/MD5/reset/134 906s ok 323 /checksum/MD5/reset/135 906s ok 324 /checksum/MD5/reset/136 906s ok 325 /checksum/MD5/reset/137 906s ok 326 /checksum/MD5/reset/138 906s ok 327 /checksum/MD5/reset/139 906s ok 328 /checksum/MD5/reset/140 906s ok 329 /checksum/MD5/reset/141 906s ok 330 /checksum/MD5/reset/142 906s ok 331 /checksum/MD5/reset/143 906s ok 332 /checksum/MD5/reset/144 906s ok 333 /checksum/MD5/reset/145 906s ok 334 /checksum/MD5/reset/146 906s ok 335 /checksum/MD5/reset/147 906s ok 336 /checksum/MD5/reset/148 906s ok 337 /checksum/MD5/reset/149 906s ok 338 /checksum/MD5/reset/150 906s ok 339 /checksum/MD5/reset/151 906s ok 340 /checksum/MD5/reset/152 906s ok 341 /checksum/MD5/reset/153 906s ok 342 /checksum/MD5/reset/154 906s ok 343 /checksum/MD5/reset/155 906s ok 344 /checksum/MD5/reset/156 906s ok 345 /checksum/MD5/reset/157 906s ok 346 /checksum/MD5/reset/158 906s ok 347 /checksum/MD5/reset/159 906s ok 348 /checksum/MD5/reset/160 906s ok 349 /checksum/MD5/reset/161 906s ok 350 /checksum/MD5/reset/162 906s ok 351 /checksum/MD5/reset/163 906s ok 352 /checksum/MD5/reset/164 906s ok 353 /checksum/MD5/reset/165 906s ok 354 /checksum/MD5/reset/166 906s ok 355 /checksum/MD5/reset/167 906s ok 356 /checksum/MD5/reset/168 906s ok 357 /checksum/MD5/reset/169 906s ok 358 /checksum/MD5/reset/170 906s ok 359 /checksum/MD5/reset/171 906s ok 360 /checksum/MD5/reset/172 906s ok 361 /checksum/MD5/reset/173 906s ok 362 /checksum/MD5/reset/174 906s ok 363 /checksum/MD5/reset/175 906s ok 364 /checksum/MD5/reset/176 906s ok 365 /checksum/MD5/reset/177 906s ok 366 /checksum/MD5/reset/178 906s ok 367 /checksum/MD5/reset/179 906s ok 368 /checksum/MD5/reset/180 906s ok 369 /checksum/MD5/reset/181 906s ok 370 /checksum/MD5/reset/182 906s ok 371 /checksum/MD5/reset/183 906s # End of reset tests 906s # End of MD5 tests 906s # Start of SHA1 tests 906s ok 372 /checksum/SHA1/0 906s ok 373 /checksum/SHA1/1 906s ok 374 /checksum/SHA1/2 906s ok 375 /checksum/SHA1/3 906s ok 376 /checksum/SHA1/4 906s ok 377 /checksum/SHA1/5 906s ok 378 /checksum/SHA1/6 906s ok 379 /checksum/SHA1/7 906s ok 380 /checksum/SHA1/8 906s ok 381 /checksum/SHA1/9 906s ok 382 /checksum/SHA1/10 906s ok 383 /checksum/SHA1/11 906s ok 384 /checksum/SHA1/12 906s ok 385 /checksum/SHA1/13 906s ok 386 /checksum/SHA1/14 906s ok 387 /checksum/SHA1/15 906s ok 388 /checksum/SHA1/16 906s ok 389 /checksum/SHA1/17 906s ok 390 /checksum/SHA1/18 906s ok 391 /checksum/SHA1/19 906s ok 392 /checksum/SHA1/20 906s ok 393 /checksum/SHA1/21 906s ok 394 /checksum/SHA1/22 906s ok 395 /checksum/SHA1/23 906s ok 396 /checksum/SHA1/24 906s ok 397 /checksum/SHA1/25 906s ok 398 /checksum/SHA1/26 906s ok 399 /checksum/SHA1/27 906s ok 400 /checksum/SHA1/28 906s ok 401 /checksum/SHA1/29 906s ok 402 /checksum/SHA1/30 906s ok 403 /checksum/SHA1/31 906s ok 404 /checksum/SHA1/32 906s ok 405 /checksum/SHA1/33 906s ok 406 /checksum/SHA1/34 906s ok 407 /checksum/SHA1/35 906s ok 408 /checksum/SHA1/36 906s ok 409 /checksum/SHA1/37 906s ok 410 /checksum/SHA1/38 906s ok 411 /checksum/SHA1/39 906s ok 412 /checksum/SHA1/40 906s ok 413 /checksum/SHA1/41 906s ok 414 /checksum/SHA1/42 906s ok 415 /checksum/SHA1/43 906s ok 416 /checksum/SHA1/44 906s ok 417 /checksum/SHA1/45 906s ok 418 /checksum/SHA1/46 906s ok 419 /checksum/SHA1/47 906s ok 420 /checksum/SHA1/48 906s ok 421 /checksum/SHA1/49 906s ok 422 /checksum/SHA1/50 906s ok 423 /checksum/SHA1/51 906s ok 424 /checksum/SHA1/52 906s ok 425 /checksum/SHA1/53 906s ok 426 /checksum/SHA1/54 906s ok 427 /checksum/SHA1/55 906s ok 428 /checksum/SHA1/56 906s ok 429 /checksum/SHA1/57 906s ok 430 /checksum/SHA1/58 906s ok 431 /checksum/SHA1/59 906s ok 432 /checksum/SHA1/60 906s ok 433 /checksum/SHA1/61 906s ok 434 /checksum/SHA1/62 906s ok 435 /checksum/SHA1/63 906s ok 436 /checksum/SHA1/64 906s ok 437 /checksum/SHA1/65 906s ok 438 /checksum/SHA1/66 906s ok 439 /checksum/SHA1/67 906s ok 440 /checksum/SHA1/68 906s ok 441 /checksum/SHA1/69 906s ok 442 /checksum/SHA1/70 906s ok 443 /checksum/SHA1/71 906s ok 444 /checksum/SHA1/72 906s ok 445 /checksum/SHA1/73 906s ok 446 /checksum/SHA1/74 906s ok 447 /checksum/SHA1/75 906s ok 448 /checksum/SHA1/76 906s ok 449 /checksum/SHA1/77 906s ok 450 /checksum/SHA1/78 906s ok 451 /checksum/SHA1/79 906s ok 452 /checksum/SHA1/80 906s ok 453 /checksum/SHA1/81 906s ok 454 /checksum/SHA1/82 906s ok 455 /checksum/SHA1/83 906s ok 456 /checksum/SHA1/84 906s ok 457 /checksum/SHA1/85 906s ok 458 /checksum/SHA1/86 906s ok 459 /checksum/SHA1/87 906s ok 460 /checksum/SHA1/88 906s ok 461 /checksum/SHA1/89 906s ok 462 /checksum/SHA1/90 906s ok 463 /checksum/SHA1/91 906s ok 464 /checksum/SHA1/92 906s ok 465 /checksum/SHA1/93 906s ok 466 /checksum/SHA1/94 906s ok 467 /checksum/SHA1/95 906s ok 468 /checksum/SHA1/96 906s ok 469 /checksum/SHA1/97 906s ok 470 /checksum/SHA1/98 906s ok 471 /checksum/SHA1/99 906s ok 472 /checksum/SHA1/100 906s ok 473 /checksum/SHA1/101 906s ok 474 /checksum/SHA1/102 906s ok 475 /checksum/SHA1/103 906s ok 476 /checksum/SHA1/104 906s ok 477 /checksum/SHA1/105 907s ok 478 /checksum/SHA1/106 907s ok 479 /checksum/SHA1/107 907s ok 480 /checksum/SHA1/108 907s ok 481 /checksum/SHA1/109 907s ok 482 /checksum/SHA1/110 907s ok 483 /checksum/SHA1/111 907s ok 484 /checksum/SHA1/112 907s ok 485 /checksum/SHA1/113 907s ok 486 /checksum/SHA1/114 907s ok 487 /checksum/SHA1/115 907s ok 488 /checksum/SHA1/116 907s ok 489 /checksum/SHA1/117 907s ok 490 /checksum/SHA1/118 907s ok 491 /checksum/SHA1/119 907s ok 492 /checksum/SHA1/120 907s ok 493 /checksum/SHA1/121 907s ok 494 /checksum/SHA1/122 907s ok 495 /checksum/SHA1/123 907s ok 496 /checksum/SHA1/124 907s ok 497 /checksum/SHA1/125 907s ok 498 /checksum/SHA1/126 907s ok 499 /checksum/SHA1/127 907s ok 500 /checksum/SHA1/128 907s ok 501 /checksum/SHA1/129 907s ok 502 /checksum/SHA1/130 907s ok 503 /checksum/SHA1/131 907s ok 504 /checksum/SHA1/132 907s ok 505 /checksum/SHA1/133 907s ok 506 /checksum/SHA1/134 907s ok 507 /checksum/SHA1/135 907s ok 508 /checksum/SHA1/136 907s ok 509 /checksum/SHA1/137 907s ok 510 /checksum/SHA1/138 907s ok 511 /checksum/SHA1/139 907s ok 512 /checksum/SHA1/140 907s ok 513 /checksum/SHA1/141 907s ok 514 /checksum/SHA1/142 907s ok 515 /checksum/SHA1/143 907s ok 516 /checksum/SHA1/144 907s ok 517 /checksum/SHA1/145 907s ok 518 /checksum/SHA1/146 907s ok 519 /checksum/SHA1/147 907s ok 520 /checksum/SHA1/148 907s ok 521 /checksum/SHA1/149 907s ok 522 /checksum/SHA1/150 907s ok 523 /checksum/SHA1/151 907s ok 524 /checksum/SHA1/152 907s ok 525 /checksum/SHA1/153 907s ok 526 /checksum/SHA1/154 907s ok 527 /checksum/SHA1/155 907s ok 528 /checksum/SHA1/156 907s ok 529 /checksum/SHA1/157 907s ok 530 /checksum/SHA1/158 907s ok 531 /checksum/SHA1/159 907s ok 532 /checksum/SHA1/160 907s ok 533 /checksum/SHA1/161 907s ok 534 /checksum/SHA1/162 907s ok 535 /checksum/SHA1/163 907s ok 536 /checksum/SHA1/164 907s ok 537 /checksum/SHA1/165 907s ok 538 /checksum/SHA1/166 907s ok 539 /checksum/SHA1/167 907s ok 540 /checksum/SHA1/168 907s ok 541 /checksum/SHA1/169 907s ok 542 /checksum/SHA1/170 907s ok 543 /checksum/SHA1/171 907s ok 544 /checksum/SHA1/172 907s ok 545 /checksum/SHA1/173 907s ok 546 /checksum/SHA1/174 907s ok 547 /checksum/SHA1/175 907s ok 548 /checksum/SHA1/176 907s ok 549 /checksum/SHA1/177 907s ok 550 /checksum/SHA1/178 907s ok 551 /checksum/SHA1/179 907s ok 552 /checksum/SHA1/180 907s ok 553 /checksum/SHA1/181 907s ok 554 /checksum/SHA1/182 907s ok 555 /checksum/SHA1/183 907s ok 556 /checksum/SHA1/string 907s ok 557 /checksum/SHA1/bytes 907s # Start of reset tests 907s ok 558 /checksum/SHA1/reset/0 907s ok 559 /checksum/SHA1/reset/1 907s ok 560 /checksum/SHA1/reset/2 907s ok 561 /checksum/SHA1/reset/3 907s ok 562 /checksum/SHA1/reset/4 907s ok 563 /checksum/SHA1/reset/5 907s ok 564 /checksum/SHA1/reset/6 907s ok 565 /checksum/SHA1/reset/7 907s ok 566 /checksum/SHA1/reset/8 907s ok 567 /checksum/SHA1/reset/9 907s ok 568 /checksum/SHA1/reset/10 907s ok 569 /checksum/SHA1/reset/11 907s ok 570 /checksum/SHA1/reset/12 907s ok 571 /checksum/SHA1/reset/13 907s ok 572 /checksum/SHA1/reset/14 907s ok 573 /checksum/SHA1/reset/15 907s ok 574 /checksum/SHA1/reset/16 907s ok 575 /checksum/SHA1/reset/17 907s ok 576 /checksum/SHA1/reset/18 907s ok 577 /checksum/SHA1/reset/19 907s ok 578 /checksum/SHA1/reset/20 907s ok 579 /checksum/SHA1/reset/21 907s ok 580 /checksum/SHA1/reset/22 907s ok 581 /checksum/SHA1/reset/23 907s ok 582 /checksum/SHA1/reset/24 907s ok 583 /checksum/SHA1/reset/25 907s ok 584 /checksum/SHA1/reset/26 907s ok 585 /checksum/SHA1/reset/27 907s ok 586 /checksum/SHA1/reset/28 907s ok 587 /checksum/SHA1/reset/29 907s ok 588 /checksum/SHA1/reset/30 907s ok 589 /checksum/SHA1/reset/31 907s ok 590 /checksum/SHA1/reset/32 907s ok 591 /checksum/SHA1/reset/33 907s ok 592 /checksum/SHA1/reset/34 907s ok 593 /checksum/SHA1/reset/35 907s ok 594 /checksum/SHA1/reset/36 907s ok 595 /checksum/SHA1/reset/37 907s ok 596 /checksum/SHA1/reset/38 907s ok 597 /checksum/SHA1/reset/39 907s ok 598 /checksum/SHA1/reset/40 907s ok 599 /checksum/SHA1/reset/41 907s ok 600 /checksum/SHA1/reset/42 907s ok 601 /checksum/SHA1/reset/43 907s ok 602 /checksum/SHA1/reset/44 907s ok 603 /checksum/SHA1/reset/45 907s ok 604 /checksum/SHA1/reset/46 907s ok 605 /checksum/SHA1/reset/47 907s ok 606 /checksum/SHA1/reset/48 907s ok 607 /checksum/SHA1/reset/49 907s ok 608 /checksum/SHA1/reset/50 907s ok 609 /checksum/SHA1/reset/51 907s ok 610 /checksum/SHA1/reset/52 907s ok 611 /checksum/SHA1/reset/53 907s ok 612 /checksum/SHA1/reset/54 907s ok 613 /checksum/SHA1/reset/55 907s ok 614 /checksum/SHA1/reset/56 907s ok 615 /checksum/SHA1/reset/57 907s ok 616 /checksum/SHA1/reset/58 907s ok 617 /checksum/SHA1/reset/59 907s ok 618 /checksum/SHA1/reset/60 907s ok 619 /checksum/SHA1/reset/61 907s ok 620 /checksum/SHA1/reset/62 907s ok 621 /checksum/SHA1/reset/63 907s ok 622 /checksum/SHA1/reset/64 907s ok 623 /checksum/SHA1/reset/65 907s ok 624 /checksum/SHA1/reset/66 907s ok 625 /checksum/SHA1/reset/67 907s ok 626 /checksum/SHA1/reset/68 907s ok 627 /checksum/SHA1/reset/69 907s ok 628 /checksum/SHA1/reset/70 907s ok 629 /checksum/SHA1/reset/71 907s ok 630 /checksum/SHA1/reset/72 907s ok 631 /checksum/SHA1/reset/73 907s ok 632 /checksum/SHA1/reset/74 907s ok 633 /checksum/SHA1/reset/75 907s ok 634 /checksum/SHA1/reset/76 907s ok 635 /checksum/SHA1/reset/77 907s ok 636 /checksum/SHA1/reset/78 907s ok 637 /checksum/SHA1/reset/79 907s ok 638 /checksum/SHA1/reset/80 907s ok 639 /checksum/SHA1/reset/81 907s ok 640 /checksum/SHA1/reset/82 907s ok 641 /checksum/SHA1/reset/83 907s ok 642 /checksum/SHA1/reset/84 907s ok 643 /checksum/SHA1/reset/85 907s ok 644 /checksum/SHA1/reset/86 907s ok 645 /checksum/SHA1/reset/87 907s ok 646 /checksum/SHA1/reset/88 907s ok 647 /checksum/SHA1/reset/89 907s ok 648 /checksum/SHA1/reset/90 907s ok 649 /checksum/SHA1/reset/91 907s ok 650 /checksum/SHA1/reset/92 907s ok 651 /checksum/SHA1/reset/93 907s ok 652 /checksum/SHA1/reset/94 907s ok 653 /checksum/SHA1/reset/95 907s ok 654 /checksum/SHA1/reset/96 907s ok 655 /checksum/SHA1/reset/97 907s ok 656 /checksum/SHA1/reset/98 907s ok 657 /checksum/SHA1/reset/99 907s ok 658 /checksum/SHA1/reset/100 907s ok 659 /checksum/SHA1/reset/101 907s ok 660 /checksum/SHA1/reset/102 907s ok 661 /checksum/SHA1/reset/103 907s ok 662 /checksum/SHA1/reset/104 907s ok 663 /checksum/SHA1/reset/105 907s ok 664 /checksum/SHA1/reset/106 907s ok 665 /checksum/SHA1/reset/107 907s ok 666 /checksum/SHA1/reset/108 907s ok 667 /checksum/SHA1/reset/109 907s ok 668 /checksum/SHA1/reset/110 907s ok 669 /checksum/SHA1/reset/111 907s ok 670 /checksum/SHA1/reset/112 907s ok 671 /checksum/SHA1/reset/113 907s ok 672 /checksum/SHA1/reset/114 907s ok 673 /checksum/SHA1/reset/115 907s ok 674 /checksum/SHA1/reset/116 907s ok 675 /checksum/SHA1/reset/117 907s ok 676 /checksum/SHA1/reset/118 907s ok 677 /checksum/SHA1/reset/119 907s ok 678 /checksum/SHA1/reset/120 907s ok 679 /checksum/SHA1/reset/121 907s ok 680 /checksum/SHA1/reset/122 907s ok 681 /checksum/SHA1/reset/123 907s ok 682 /checksum/SHA1/reset/124 907s ok 683 /checksum/SHA1/reset/125 907s ok 684 /checksum/SHA1/reset/126 907s ok 685 /checksum/SHA1/reset/127 907s ok 686 /checksum/SHA1/reset/128 907s ok 687 /checksum/SHA1/reset/129 907s ok 688 /checksum/SHA1/reset/130 907s ok 689 /checksum/SHA1/reset/131 907s ok 690 /checksum/SHA1/reset/132 907s ok 691 /checksum/SHA1/reset/133 907s ok 692 /checksum/SHA1/reset/134 907s ok 693 /checksum/SHA1/reset/135 907s ok 694 /checksum/SHA1/reset/136 907s ok 695 /checksum/SHA1/reset/137 907s ok 696 /checksum/SHA1/reset/138 907s ok 697 /checksum/SHA1/reset/139 907s ok 698 /checksum/SHA1/reset/140 907s ok 699 /checksum/SHA1/reset/141 907s ok 700 /checksum/SHA1/reset/142 907s ok 701 /checksum/SHA1/reset/143 907s ok 702 /checksum/SHA1/reset/144 907s ok 703 /checksum/SHA1/reset/145 907s ok 704 /checksum/SHA1/reset/146 907s ok 705 /checksum/SHA1/reset/147 907s ok 706 /checksum/SHA1/reset/148 907s ok 707 /checksum/SHA1/reset/149 907s ok 708 /checksum/SHA1/reset/150 907s ok 709 /checksum/SHA1/reset/151 907s ok 710 /checksum/SHA1/reset/152 907s ok 711 /checksum/SHA1/reset/153 907s ok 712 /checksum/SHA1/reset/154 907s ok 713 /checksum/SHA1/reset/155 907s ok 714 /checksum/SHA1/reset/156 907s ok 715 /checksum/SHA1/reset/157 907s ok 716 /checksum/SHA1/reset/158 907s ok 717 /checksum/SHA1/reset/159 907s ok 718 /checksum/SHA1/reset/160 907s ok 719 /checksum/SHA1/reset/161 907s ok 720 /checksum/SHA1/reset/162 907s ok 721 /checksum/SHA1/reset/163 907s ok 722 /checksum/SHA1/reset/164 907s ok 723 /checksum/SHA1/reset/165 907s ok 724 /checksum/SHA1/reset/166 907s ok 725 /checksum/SHA1/reset/167 907s ok 726 /checksum/SHA1/reset/168 907s ok 727 /checksum/SHA1/reset/169 907s ok 728 /checksum/SHA1/reset/170 907s ok 729 /checksum/SHA1/reset/171 907s ok 730 /checksum/SHA1/reset/172 907s ok 731 /checksum/SHA1/reset/173 907s ok 732 /checksum/SHA1/reset/174 907s ok 733 /checksum/SHA1/reset/175 907s ok 734 /checksum/SHA1/reset/176 907s ok 735 /checksum/SHA1/reset/177 907s ok 736 /checksum/SHA1/reset/178 907s ok 737 /checksum/SHA1/reset/179 907s ok 738 /checksum/SHA1/reset/180 907s ok 739 /checksum/SHA1/reset/181 907s ok 740 /checksum/SHA1/reset/182 907s ok 741 /checksum/SHA1/reset/183 907s # End of reset tests 907s # End of SHA1 tests 907s # Start of SHA256 tests 907s ok 742 /checksum/SHA256/0 907s ok 743 /checksum/SHA256/1 907s ok 744 /checksum/SHA256/2 907s ok 745 /checksum/SHA256/3 907s ok 746 /checksum/SHA256/4 907s ok 747 /checksum/SHA256/5 907s ok 748 /checksum/SHA256/6 907s ok 749 /checksum/SHA256/7 907s ok 750 /checksum/SHA256/8 907s ok 751 /checksum/SHA256/9 907s ok 752 /checksum/SHA256/10 907s ok 753 /checksum/SHA256/11 907s ok 754 /checksum/SHA256/12 907s ok 755 /checksum/SHA256/13 907s ok 756 /checksum/SHA256/14 907s ok 757 /checksum/SHA256/15 907s ok 758 /checksum/SHA256/16 907s ok 759 /checksum/SHA256/17 907s ok 760 /checksum/SHA256/18 907s ok 761 /checksum/SHA256/19 907s ok 762 /checksum/SHA256/20 907s ok 763 /checksum/SHA256/21 907s ok 764 /checksum/SHA256/22 907s ok 765 /checksum/SHA256/23 907s ok 766 /checksum/SHA256/24 907s ok 767 /checksum/SHA256/25 907s ok 768 /checksum/SHA256/26 907s ok 769 /checksum/SHA256/27 907s ok 770 /checksum/SHA256/28 907s ok 771 /checksum/SHA256/29 907s ok 772 /checksum/SHA256/30 907s ok 773 /checksum/SHA256/31 907s ok 774 /checksum/SHA256/32 907s ok 775 /checksum/SHA256/33 907s ok 776 /checksum/SHA256/34 907s ok 777 /checksum/SHA256/35 907s ok 778 /checksum/SHA256/36 907s ok 779 /checksum/SHA256/37 907s ok 780 /checksum/SHA256/38 907s ok 781 /checksum/SHA256/39 907s ok 782 /checksum/SHA256/40 907s ok 783 /checksum/SHA256/41 907s ok 784 /checksum/SHA256/42 907s ok 785 /checksum/SHA256/43 907s ok 786 /checksum/SHA256/44 907s ok 787 /checksum/SHA256/45 907s ok 788 /checksum/SHA256/46 907s ok 789 /checksum/SHA256/47 907s ok 790 /checksum/SHA256/48 907s ok 791 /checksum/SHA256/49 907s ok 792 /checksum/SHA256/50 907s ok 793 /checksum/SHA256/51 907s ok 794 /checksum/SHA256/52 907s ok 795 /checksum/SHA256/53 907s ok 796 /checksum/SHA256/54 907s ok 797 /checksum/SHA256/55 907s ok 798 /checksum/SHA256/56 907s ok 799 /checksum/SHA256/57 907s ok 800 /checksum/SHA256/58 907s ok 801 /checksum/SHA256/59 907s ok 802 /checksum/SHA256/60 907s ok 803 /checksum/SHA256/61 907s ok 804 /checksum/SHA256/62 907s ok 805 /checksum/SHA256/63 907s ok 806 /checksum/SHA256/64 907s ok 807 /checksum/SHA256/65 907s ok 808 /checksum/SHA256/66 907s ok 809 /checksum/SHA256/67 907s ok 810 /checksum/SHA256/68 907s ok 811 /checksum/SHA256/69 907s ok 812 /checksum/SHA256/70 907s ok 813 /checksum/SHA256/71 907s ok 814 /checksum/SHA256/72 907s ok 815 /checksum/SHA256/73 907s ok 816 /checksum/SHA256/74 907s ok 817 /checksum/SHA256/75 907s ok 818 /checksum/SHA256/76 907s ok 819 /checksum/SHA256/77 907s ok 820 /checksum/SHA256/78 907s ok 821 /checksum/SHA256/79 907s ok 822 /checksum/SHA256/80 907s ok 823 /checksum/SHA256/81 907s ok 824 /checksum/SHA256/82 907s ok 825 /checksum/SHA256/83 907s ok 826 /checksum/SHA256/84 907s ok 827 /checksum/SHA256/85 907s ok 828 /checksum/SHA256/86 907s ok 829 /checksum/SHA256/87 907s ok 830 /checksum/SHA256/88 907s ok 831 /checksum/SHA256/89 907s ok 832 /checksum/SHA256/90 907s ok 833 /checksum/SHA256/91 907s ok 834 /checksum/SHA256/92 907s ok 835 /checksum/SHA256/93 907s ok 836 /checksum/SHA256/94 907s ok 837 /checksum/SHA256/95 907s ok 838 /checksum/SHA256/96 907s ok 839 /checksum/SHA256/97 907s ok 840 /checksum/SHA256/98 907s ok 841 /checksum/SHA256/99 907s ok 842 /checksum/SHA256/100 907s ok 843 /checksum/SHA256/101 907s ok 844 /checksum/SHA256/102 907s ok 845 /checksum/SHA256/103 907s ok 846 /checksum/SHA256/104 907s ok 847 /checksum/SHA256/105 907s ok 848 /checksum/SHA256/106 907s ok 849 /checksum/SHA256/107 907s ok 850 /checksum/SHA256/108 907s ok 851 /checksum/SHA256/109 907s ok 852 /checksum/SHA256/110 907s ok 853 /checksum/SHA256/111 907s ok 854 /checksum/SHA256/112 907s ok 855 /checksum/SHA256/113 907s ok 856 /checksum/SHA256/114 907s ok 857 /checksum/SHA256/115 907s ok 858 /checksum/SHA256/116 907s ok 859 /checksum/SHA256/117 907s ok 860 /checksum/SHA256/118 907s ok 861 /checksum/SHA256/119 907s ok 862 /checksum/SHA256/120 907s ok 863 /checksum/SHA256/121 907s ok 864 /checksum/SHA256/122 907s ok 865 /checksum/SHA256/123 907s ok 866 /checksum/SHA256/124 907s ok 867 /checksum/SHA256/125 907s ok 868 /checksum/SHA256/126 907s ok 869 /checksum/SHA256/127 907s ok 870 /checksum/SHA256/128 907s ok 871 /checksum/SHA256/129 907s ok 872 /checksum/SHA256/130 907s ok 873 /checksum/SHA256/131 907s ok 874 /checksum/SHA256/132 907s ok 875 /checksum/SHA256/133 907s ok 876 /checksum/SHA256/134 907s ok 877 /checksum/SHA256/135 907s ok 878 /checksum/SHA256/136 907s ok 879 /checksum/SHA256/137 907s ok 880 /checksum/SHA256/138 907s ok 881 /checksum/SHA256/139 907s ok 882 /checksum/SHA256/140 907s ok 883 /checksum/SHA256/141 907s ok 884 /checksum/SHA256/142 907s ok 885 /checksum/SHA256/143 907s ok 886 /checksum/SHA256/144 907s ok 887 /checksum/SHA256/145 907s ok 888 /checksum/SHA256/146 907s ok 889 /checksum/SHA256/147 907s ok 890 /checksum/SHA256/148 907s ok 891 /checksum/SHA256/149 907s ok 892 /checksum/SHA256/150 907s ok 893 /checksum/SHA256/151 907s ok 894 /checksum/SHA256/152 907s ok 895 /checksum/SHA256/153 907s ok 896 /checksum/SHA256/154 907s ok 897 /checksum/SHA256/155 907s ok 898 /checksum/SHA256/156 907s ok 899 /checksum/SHA256/157 907s ok 900 /checksum/SHA256/158 907s ok 901 /checksum/SHA256/159 907s ok 902 /checksum/SHA256/160 907s ok 903 /checksum/SHA256/161 907s ok 904 /checksum/SHA256/162 907s ok 905 /checksum/SHA256/163 907s ok 906 /checksum/SHA256/164 907s ok 907 /checksum/SHA256/165 907s ok 908 /checksum/SHA256/166 907s ok 909 /checksum/SHA256/167 907s ok 910 /checksum/SHA256/168 907s ok 911 /checksum/SHA256/169 907s ok 912 /checksum/SHA256/170 907s ok 913 /checksum/SHA256/171 907s ok 914 /checksum/SHA256/172 907s ok 915 /checksum/SHA256/173 907s ok 916 /checksum/SHA256/174 907s ok 917 /checksum/SHA256/175 907s ok 918 /checksum/SHA256/176 907s ok 919 /checksum/SHA256/177 907s ok 920 /checksum/SHA256/178 907s ok 921 /checksum/SHA256/179 907s ok 922 /checksum/SHA256/180 907s ok 923 /checksum/SHA256/181 907s ok 924 /checksum/SHA256/182 907s ok 925 /checksum/SHA256/183 907s ok 926 /checksum/SHA256/string 907s ok 927 /checksum/SHA256/bytes 907s # Start of reset tests 907s ok 928 /checksum/SHA256/reset/0 907s ok 929 /checksum/SHA256/reset/1 907s ok 930 /checksum/SHA256/reset/2 907s ok 931 /checksum/SHA256/reset/3 907s ok 932 /checksum/SHA256/reset/4 907s ok 933 /checksum/SHA256/reset/5 907s ok 934 /checksum/SHA256/reset/6 907s ok 935 /checksum/SHA256/reset/7 907s ok 936 /checksum/SHA256/reset/8 907s ok 937 /checksum/SHA256/reset/9 907s ok 938 /checksum/SHA256/reset/10 907s ok 939 /checksum/SHA256/reset/11 907s ok 940 /checksum/SHA256/reset/12 907s ok 941 /checksum/SHA256/reset/13 907s ok 942 /checksum/SHA256/reset/14 907s ok 943 /checksum/SHA256/reset/15 907s ok 944 /checksum/SHA256/reset/16 907s ok 945 /checksum/SHA256/reset/17 907s ok 946 /checksum/SHA256/reset/18 907s ok 947 /checksum/SHA256/reset/19 907s ok 948 /checksum/SHA256/reset/20 907s ok 949 /checksum/SHA256/reset/21 907s ok 950 /checksum/SHA256/reset/22 907s ok 951 /checksum/SHA256/reset/23 907s ok 952 /checksum/SHA256/reset/24 907s ok 953 /checksum/SHA256/reset/25 907s ok 954 /checksum/SHA256/reset/26 907s ok 955 /checksum/SHA256/reset/27 907s ok 956 /checksum/SHA256/reset/28 907s ok 957 /checksum/SHA256/reset/29 907s ok 958 /checksum/SHA256/reset/30 907s ok 959 /checksum/SHA256/reset/31 907s ok 960 /checksum/SHA256/reset/32 907s ok 961 /checksum/SHA256/reset/33 907s ok 962 /checksum/SHA256/reset/34 907s ok 963 /checksum/SHA256/reset/35 907s ok 964 /checksum/SHA256/reset/36 907s ok 965 /checksum/SHA256/reset/37 907s ok 966 /checksum/SHA256/reset/38 907s ok 967 /checksum/SHA256/reset/39 907s ok 968 /checksum/SHA256/reset/40 907s ok 969 /checksum/SHA256/reset/41 907s ok 970 /checksum/SHA256/reset/42 907s ok 971 /checksum/SHA256/reset/43 907s ok 972 /checksum/SHA256/reset/44 907s ok 973 /checksum/SHA256/reset/45 907s ok 974 /checksum/SHA256/reset/46 907s ok 975 /checksum/SHA256/reset/47 907s ok 976 /checksum/SHA256/reset/48 907s ok 977 /checksum/SHA256/reset/49 907s ok 978 /checksum/SHA256/reset/50 907s ok 979 /checksum/SHA256/reset/51 907s ok 980 /checksum/SHA256/reset/52 907s ok 981 /checksum/SHA256/reset/53 907s ok 982 /checksum/SHA256/reset/54 907s ok 983 /checksum/SHA256/reset/55 907s ok 984 /checksum/SHA256/reset/56 907s ok 985 /checksum/SHA256/reset/57 907s ok 986 /checksum/SHA256/reset/58 907s ok 987 /checksum/SHA256/reset/59 907s ok 988 /checksum/SHA256/reset/60 907s ok 989 /checksum/SHA256/reset/61 907s ok 990 /checksum/SHA256/reset/62 907s ok 991 /checksum/SHA256/reset/63 907s ok 992 /checksum/SHA256/reset/64 907s ok 993 /checksum/SHA256/reset/65 907s ok 994 /checksum/SHA256/reset/66 907s ok 995 /checksum/SHA256/reset/67 907s ok 996 /checksum/SHA256/reset/68 907s ok 997 /checksum/SHA256/reset/69 907s ok 998 /checksum/SHA256/reset/70 907s ok 999 /checksum/SHA256/reset/71 907s ok 1000 /checksum/SHA256/reset/72 907s ok 1001 /checksum/SHA256/reset/73 907s ok 1002 /checksum/SHA256/reset/74 907s ok 1003 /checksum/SHA256/reset/75 907s ok 1004 /checksum/SHA256/reset/76 907s ok 1005 /checksum/SHA256/reset/77 907s ok 1006 /checksum/SHA256/reset/78 907s ok 1007 /checksum/SHA256/reset/79 907s ok 1008 /checksum/SHA256/reset/80 907s ok 1009 /checksum/SHA256/reset/81 907s ok 1010 /checksum/SHA256/reset/82 907s ok 1011 /checksum/SHA256/reset/83 907s ok 1012 /checksum/SHA256/reset/84 907s ok 1013 /checksum/SHA256/reset/85 907s ok 1014 /checksum/SHA256/reset/86 907s ok 1015 /checksum/SHA256/reset/87 907s ok 1016 /checksum/SHA256/reset/88 907s ok 1017 /checksum/SHA256/reset/89 907s ok 1018 /checksum/SHA256/reset/90 907s ok 1019 /checksum/SHA256/reset/91 907s ok 1020 /checksum/SHA256/reset/92 907s ok 1021 /checksum/SHA256/reset/93 907s ok 1022 /checksum/SHA256/reset/94 907s ok 1023 /checksum/SHA256/reset/95 907s ok 1024 /checksum/SHA256/reset/96 907s ok 1025 /checksum/SHA256/reset/97 907s ok 1026 /checksum/SHA256/reset/98 907s ok 1027 /checksum/SHA256/reset/99 907s ok 1028 /checksum/SHA256/reset/100 907s ok 1029 /checksum/SHA256/reset/101 907s ok 1030 /checksum/SHA256/reset/102 907s ok 1031 /checksum/SHA256/reset/103 907s ok 1032 /checksum/SHA256/reset/104 907s ok 1033 /checksum/SHA256/reset/105 907s ok 1034 /checksum/SHA256/reset/106 907s ok 1035 /checksum/SHA256/reset/107 907s ok 1036 /checksum/SHA256/reset/108 907s ok 1037 /checksum/SHA256/reset/109 907s ok 1038 /checksum/SHA256/reset/110 907s ok 1039 /checksum/SHA256/reset/111 907s ok 1040 /checksum/SHA256/reset/112 907s ok 1041 /checksum/SHA256/reset/113 907s ok 1042 /checksum/SHA256/reset/114 907s ok 1043 /checksum/SHA256/reset/115 907s ok 1044 /checksum/SHA256/reset/116 907s ok 1045 /checksum/SHA256/reset/117 907s ok 1046 /checksum/SHA256/reset/118 907s ok 1047 /checksum/SHA256/reset/119 907s ok 1048 /checksum/SHA256/reset/120 907s ok 1049 /checksum/SHA256/reset/121 907s ok 1050 /checksum/SHA256/reset/122 907s ok 1051 /checksum/SHA256/reset/123 907s ok 1052 /checksum/SHA256/reset/124 907s ok 1053 /checksum/SHA256/reset/125 907s ok 1054 /checksum/SHA256/reset/126 907s ok 1055 /checksum/SHA256/reset/127 907s ok 1056 /checksum/SHA256/reset/128 907s ok 1057 /checksum/SHA256/reset/129 907s ok 1058 /checksum/SHA256/reset/130 907s ok 1059 /checksum/SHA256/reset/131 907s ok 1060 /checksum/SHA256/reset/132 907s ok 1061 /checksum/SHA256/reset/133 907s ok 1062 /checksum/SHA256/reset/134 907s ok 1063 /checksum/SHA256/reset/135 907s ok 1064 /checksum/SHA256/reset/136 907s ok 1065 /checksum/SHA256/reset/137 907s ok 1066 /checksum/SHA256/reset/138 907s ok 1067 /checksum/SHA256/reset/139 907s ok 1068 /checksum/SHA256/reset/140 907s ok 1069 /checksum/SHA256/reset/141 907s ok 1070 /checksum/SHA256/reset/142 907s ok 1071 /checksum/SHA256/reset/143 907s ok 1072 /checksum/SHA256/reset/144 907s ok 1073 /checksum/SHA256/reset/145 907s ok 1074 /checksum/SHA256/reset/146 907s ok 1075 /checksum/SHA256/reset/147 907s ok 1076 /checksum/SHA256/reset/148 907s ok 1077 /checksum/SHA256/reset/149 907s ok 1078 /checksum/SHA256/reset/150 907s ok 1079 /checksum/SHA256/reset/151 907s ok 1080 /checksum/SHA256/reset/152 907s ok 1081 /checksum/SHA256/reset/153 907s ok 1082 /checksum/SHA256/reset/154 907s ok 1083 /checksum/SHA256/reset/155 907s ok 1084 /checksum/SHA256/reset/156 907s ok 1085 /checksum/SHA256/reset/157 907s ok 1086 /checksum/SHA256/reset/158 907s ok 1087 /checksum/SHA256/reset/159 907s ok 1088 /checksum/SHA256/reset/160 907s ok 1089 /checksum/SHA256/reset/161 907s ok 1090 /checksum/SHA256/reset/162 907s ok 1091 /checksum/SHA256/reset/163 907s ok 1092 /checksum/SHA256/reset/164 907s ok 1093 /checksum/SHA256/reset/165 907s ok 1094 /checksum/SHA256/reset/166 907s ok 1095 /checksum/SHA256/reset/167 907s ok 1096 /checksum/SHA256/reset/168 907s ok 1097 /checksum/SHA256/reset/169 907s ok 1098 /checksum/SHA256/reset/170 907s ok 1099 /checksum/SHA256/reset/171 907s ok 1100 /checksum/SHA256/reset/172 907s ok 1101 /checksum/SHA256/reset/173 907s ok 1102 /checksum/SHA256/reset/174 907s ok 1103 /checksum/SHA256/reset/175 907s ok 1104 /checksum/SHA256/reset/176 907s ok 1105 /checksum/SHA256/reset/177 907s ok 1106 /checksum/SHA256/reset/178 907s ok 1107 /checksum/SHA256/reset/179 907s ok 1108 /checksum/SHA256/reset/180 907s ok 1109 /checksum/SHA256/reset/181 907s ok 1110 /checksum/SHA256/reset/182 907s ok 1111 /checksum/SHA256/reset/183 907s # End of reset tests 907s # End of SHA256 tests 907s # Start of SHA384 tests 907s ok 1112 /checksum/SHA384/0 907s ok 1113 /checksum/SHA384/1 907s ok 1114 /checksum/SHA384/2 907s ok 1115 /checksum/SHA384/3 907s ok 1116 /checksum/SHA384/4 907s ok 1117 /checksum/SHA384/5 907s ok 1118 /checksum/SHA384/6 907s ok 1119 /checksum/SHA384/7 907s ok 1120 /checksum/SHA384/8 907s ok 1121 /checksum/SHA384/9 907s ok 1122 /checksum/SHA384/10 907s ok 1123 /checksum/SHA384/11 907s ok 1124 /checksum/SHA384/12 907s ok 1125 /checksum/SHA384/13 907s ok 1126 /checksum/SHA384/14 907s ok 1127 /checksum/SHA384/15 907s ok 1128 /checksum/SHA384/16 907s ok 1129 /checksum/SHA384/17 907s ok 1130 /checksum/SHA384/18 907s ok 1131 /checksum/SHA384/19 907s ok 1132 /checksum/SHA384/20 907s ok 1133 /checksum/SHA384/21 907s ok 1134 /checksum/SHA384/22 907s ok 1135 /checksum/SHA384/23 907s ok 1136 /checksum/SHA384/24 907s ok 1137 /checksum/SHA384/25 907s ok 1138 /checksum/SHA384/26 907s ok 1139 /checksum/SHA384/27 907s ok 1140 /checksum/SHA384/28 907s ok 1141 /checksum/SHA384/29 907s ok 1142 /checksum/SHA384/30 907s ok 1143 /checksum/SHA384/31 907s ok 1144 /checksum/SHA384/32 907s ok 1145 /checksum/SHA384/33 907s ok 1146 /checksum/SHA384/34 907s ok 1147 /checksum/SHA384/35 907s ok 1148 /checksum/SHA384/36 907s ok 1149 /checksum/SHA384/37 907s ok 1150 /checksum/SHA384/38 907s ok 1151 /checksum/SHA384/39 907s ok 1152 /checksum/SHA384/40 907s ok 1153 /checksum/SHA384/41 907s ok 1154 /checksum/SHA384/42 907s ok 1155 /checksum/SHA384/43 907s ok 1156 /checksum/SHA384/44 907s ok 1157 /checksum/SHA384/45 907s ok 1158 /checksum/SHA384/46 907s ok 1159 /checksum/SHA384/47 907s ok 1160 /checksum/SHA384/48 907s ok 1161 /checksum/SHA384/49 907s ok 1162 /checksum/SHA384/50 907s ok 1163 /checksum/SHA384/51 907s ok 1164 /checksum/SHA384/52 907s ok 1165 /checksum/SHA384/53 907s ok 1166 /checksum/SHA384/54 907s ok 1167 /checksum/SHA384/55 907s ok 1168 /checksum/SHA384/56 907s ok 1169 /checksum/SHA384/57 907s ok 1170 /checksum/SHA384/58 907s ok 1171 /checksum/SHA384/59 907s ok 1172 /checksum/SHA384/60 907s ok 1173 /checksum/SHA384/61 907s ok 1174 /checksum/SHA384/62 907s ok 1175 /checksum/SHA384/63 907s ok 1176 /checksum/SHA384/64 907s ok 1177 /checksum/SHA384/65 907s ok 1178 /checksum/SHA384/66 907s ok 1179 /checksum/SHA384/67 907s ok 1180 /checksum/SHA384/68 907s ok 1181 /checksum/SHA384/69 907s ok 1182 /checksum/SHA384/70 907s ok 1183 /checksum/SHA384/71 907s ok 1184 /checksum/SHA384/72 907s ok 1185 /checksum/SHA384/73 907s ok 1186 /checksum/SHA384/74 907s ok 1187 /checksum/SHA384/75 907s ok 1188 /checksum/SHA384/76 907s ok 1189 /checksum/SHA384/77 907s ok 1190 /checksum/SHA384/78 907s ok 1191 /checksum/SHA384/79 907s ok 1192 /checksum/SHA384/80 907s ok 1193 /checksum/SHA384/81 907s ok 1194 /checksum/SHA384/82 907s ok 1195 /checksum/SHA384/83 907s ok 1196 /checksum/SHA384/84 907s ok 1197 /checksum/SHA384/85 907s ok 1198 /checksum/SHA384/86 907s ok 1199 /checksum/SHA384/87 907s ok 1200 /checksum/SHA384/88 907s ok 1201 /checksum/SHA384/89 907s ok 1202 /checksum/SHA384/90 907s ok 1203 /checksum/SHA384/91 907s ok 1204 /checksum/SHA384/92 907s ok 1205 /checksum/SHA384/93 907s ok 1206 /checksum/SHA384/94 907s ok 1207 /checksum/SHA384/95 907s ok 1208 /checksum/SHA384/96 907s ok 1209 /checksum/SHA384/97 907s ok 1210 /checksum/SHA384/98 907s ok 1211 /checksum/SHA384/99 907s ok 1212 /checksum/SHA384/100 907s ok 1213 /checksum/SHA384/101 907s ok 1214 /checksum/SHA384/102 907s ok 1215 /checksum/SHA384/103 907s ok 1216 /checksum/SHA384/104 907s ok 1217 /checksum/SHA384/105 907s ok 1218 /checksum/SHA384/106 907s ok 1219 /checksum/SHA384/107 907s ok 1220 /checksum/SHA384/108 907s ok 1221 /checksum/SHA384/109 907s ok 1222 /checksum/SHA384/110 907s ok 1223 /checksum/SHA384/111 907s ok 1224 /checksum/SHA384/112 907s ok 1225 /checksum/SHA384/113 907s ok 1226 /checksum/SHA384/114 907s ok 1227 /checksum/SHA384/115 907s ok 1228 /checksum/SHA384/116 907s ok 1229 /checksum/SHA384/117 907s ok 1230 /checksum/SHA384/118 907s ok 1231 /checksum/SHA384/119 907s ok 1232 /checksum/SHA384/120 907s ok 1233 /checksum/SHA384/121 907s ok 1234 /checksum/SHA384/122 907s ok 1235 /checksum/SHA384/123 907s ok 1236 /checksum/SHA384/124 907s ok 1237 /checksum/SHA384/125 907s ok 1238 /checksum/SHA384/126 907s ok 1239 /checksum/SHA384/127 907s ok 1240 /checksum/SHA384/128 907s ok 1241 /checksum/SHA384/129 907s ok 1242 /checksum/SHA384/130 907s ok 1243 /checksum/SHA384/131 907s ok 1244 /checksum/SHA384/132 907s ok 1245 /checksum/SHA384/133 907s ok 1246 /checksum/SHA384/134 907s ok 1247 /checksum/SHA384/135 907s ok 1248 /checksum/SHA384/136 907s ok 1249 /checksum/SHA384/137 907s ok 1250 /checksum/SHA384/138 907s ok 1251 /checksum/SHA384/139 907s ok 1252 /checksum/SHA384/140 907s ok 1253 /checksum/SHA384/141 907s ok 1254 /checksum/SHA384/142 907s ok 1255 /checksum/SHA384/143 907s ok 1256 /checksum/SHA384/144 907s ok 1257 /checksum/SHA384/145 907s ok 1258 /checksum/SHA384/146 907s ok 1259 /checksum/SHA384/147 907s ok 1260 /checksum/SHA384/148 907s ok 1261 /checksum/SHA384/149 907s ok 1262 /checksum/SHA384/150 907s ok 1263 /checksum/SHA384/151 907s ok 1264 /checksum/SHA384/152 907s ok 1265 /checksum/SHA384/153 907s ok 1266 /checksum/SHA384/154 907s ok 1267 /checksum/SHA384/155 907s ok 1268 /checksum/SHA384/156 907s ok 1269 /checksum/SHA384/157 907s ok 1270 /checksum/SHA384/158 907s ok 1271 /checksum/SHA384/159 907s ok 1272 /checksum/SHA384/160 907s ok 1273 /checksum/SHA384/161 907s ok 1274 /checksum/SHA384/162 907s ok 1275 /checksum/SHA384/163 907s ok 1276 /checksum/SHA384/164 907s ok 1277 /checksum/SHA384/165 907s ok 1278 /checksum/SHA384/166 907s ok 1279 /checksum/SHA384/167 907s ok 1280 /checksum/SHA384/168 907s ok 1281 /checksum/SHA384/169 907s ok 1282 /checksum/SHA384/170 907s ok 1283 /checksum/SHA384/171 907s ok 1284 /checksum/SHA384/172 907s ok 1285 /checksum/SHA384/173 907s ok 1286 /checksum/SHA384/174 907s ok 1287 /checksum/SHA384/175 907s ok 1288 /checksum/SHA384/176 907s ok 1289 /checksum/SHA384/177 907s ok 1290 /checksum/SHA384/178 907s ok 1291 /checksum/SHA384/179 907s ok 1292 /checksum/SHA384/180 907s ok 1293 /checksum/SHA384/181 907s ok 1294 /checksum/SHA384/182 907s ok 1295 /checksum/SHA384/183 907s ok 1296 /checksum/SHA384/string 907s ok 1297 /checksum/SHA384/bytes 907s # Start of reset tests 907s ok 1298 /checksum/SHA384/reset/0 907s ok 1299 /checksum/SHA384/reset/1 907s ok 1300 /checksum/SHA384/reset/2 907s ok 1301 /checksum/SHA384/reset/3 907s ok 1302 /checksum/SHA384/reset/4 907s ok 1303 /checksum/SHA384/reset/5 907s ok 1304 /checksum/SHA384/reset/6 907s ok 1305 /checksum/SHA384/reset/7 907s ok 1306 /checksum/SHA384/reset/8 907s ok 1307 /checksum/SHA384/reset/9 907s ok 1308 /checksum/SHA384/reset/10 907s ok 1309 /checksum/SHA384/reset/11 907s ok 1310 /checksum/SHA384/reset/12 907s ok 1311 /checksum/SHA384/reset/13 907s ok 1312 /checksum/SHA384/reset/14 907s ok 1313 /checksum/SHA384/reset/15 907s ok 1314 /checksum/SHA384/reset/16 907s ok 1315 /checksum/SHA384/reset/17 907s ok 1316 /checksum/SHA384/reset/18 907s ok 1317 /checksum/SHA384/reset/19 907s ok 1318 /checksum/SHA384/reset/20 907s ok 1319 /checksum/SHA384/reset/21 907s ok 1320 /checksum/SHA384/reset/22 907s ok 1321 /checksum/SHA384/reset/23 907s ok 1322 /checksum/SHA384/reset/24 907s ok 1323 /checksum/SHA384/reset/25 907s ok 1324 /checksum/SHA384/reset/26 907s ok 1325 /checksum/SHA384/reset/27 907s ok 1326 /checksum/SHA384/reset/28 907s ok 1327 /checksum/SHA384/reset/29 907s ok 1328 /checksum/SHA384/reset/30 907s ok 1329 /checksum/SHA384/reset/31 907s ok 1330 /checksum/SHA384/reset/32 907s ok 1331 /checksum/SHA384/reset/33 907s ok 1332 /checksum/SHA384/reset/34 907s ok 1333 /checksum/SHA384/reset/35 907s ok 1334 /checksum/SHA384/reset/36 907s ok 1335 /checksum/SHA384/reset/37 907s ok 1336 /checksum/SHA384/reset/38 907s ok 1337 /checksum/SHA384/reset/39 907s ok 1338 /checksum/SHA384/reset/40 907s ok 1339 /checksum/SHA384/reset/41 907s ok 1340 /checksum/SHA384/reset/42 907s ok 1341 /checksum/SHA384/reset/43 907s ok 1342 /checksum/SHA384/reset/44 907s ok 1343 /checksum/SHA384/reset/45 907s ok 1344 /checksum/SHA384/reset/46 907s ok 1345 /checksum/SHA384/reset/47 907s ok 1346 /checksum/SHA384/reset/48 907s ok 1347 /checksum/SHA384/reset/49 907s ok 1348 /checksum/SHA384/reset/50 907s ok 1349 /checksum/SHA384/reset/51 907s ok 1350 /checksum/SHA384/reset/52 907s ok 1351 /checksum/SHA384/reset/53 907s ok 1352 /checksum/SHA384/reset/54 907s ok 1353 /checksum/SHA384/reset/55 907s ok 1354 /checksum/SHA384/reset/56 907s ok 1355 /checksum/SHA384/reset/57 907s ok 1356 /checksum/SHA384/reset/58 907s ok 1357 /checksum/SHA384/reset/59 907s ok 1358 /checksum/SHA384/reset/60 907s ok 1359 /checksum/SHA384/reset/61 907s ok 1360 /checksum/SHA384/reset/62 907s ok 1361 /checksum/SHA384/reset/63 907s ok 1362 /checksum/SHA384/reset/64 907s ok 1363 /checksum/SHA384/reset/65 907s ok 1364 /checksum/SHA384/reset/66 907s ok 1365 /checksum/SHA384/reset/67 907s ok 1366 /checksum/SHA384/reset/68 907s ok 1367 /checksum/SHA384/reset/69 907s ok 1368 /checksum/SHA384/reset/70 907s ok 1369 /checksum/SHA384/reset/71 907s ok 1370 /checksum/SHA384/reset/72 907s ok 1371 /checksum/SHA384/reset/73 907s ok 1372 /checksum/SHA384/reset/74 907s ok 1373 /checksum/SHA384/reset/75 907s ok 1374 /checksum/SHA384/reset/76 907s ok 1375 /checksum/SHA384/reset/77 907s ok 1376 /checksum/SHA384/reset/78 907s ok 1377 /checksum/SHA384/reset/79 907s ok 1378 /checksum/SHA384/reset/80 907s ok 1379 /checksum/SHA384/reset/81 907s ok 1380 /checksum/SHA384/reset/82 907s ok 1381 /checksum/SHA384/reset/83 907s ok 1382 /checksum/SHA384/reset/84 907s ok 1383 /checksum/SHA384/reset/85 907s ok 1384 /checksum/SHA384/reset/86 907s ok 1385 /checksum/SHA384/reset/87 907s ok 1386 /checksum/SHA384/reset/88 907s ok 1387 /checksum/SHA384/reset/89 907s ok 1388 /checksum/SHA384/reset/90 907s ok 1389 /checksum/SHA384/reset/91 907s ok 1390 /checksum/SHA384/reset/92 907s ok 1391 /checksum/SHA384/reset/93 907s ok 1392 /checksum/SHA384/reset/94 907s ok 1393 /checksum/SHA384/reset/95 907s ok 1394 /checksum/SHA384/reset/96 907s ok 1395 /checksum/SHA384/reset/97 907s ok 1396 /checksum/SHA384/reset/98 907s ok 1397 /checksum/SHA384/reset/99 907s ok 1398 /checksum/SHA384/reset/100 907s ok 1399 /checksum/SHA384/reset/101 907s ok 1400 /checksum/SHA384/reset/102 907s ok 1401 /checksum/SHA384/reset/103 907s ok 1402 /checksum/SHA384/reset/104 907s ok 1403 /checksum/SHA384/reset/105 907s ok 1404 /checksum/SHA384/reset/106 907s ok 1405 /checksum/SHA384/reset/107 907s ok 1406 /checksum/SHA384/reset/108 907s ok 1407 /checksum/SHA384/reset/109 907s ok 1408 /checksum/SHA384/reset/110 907s ok 1409 /checksum/SHA384/reset/111 907s ok 1410 /checksum/SHA384/reset/112 907s ok 1411 /checksum/SHA384/reset/113 907s ok 1412 /checksum/SHA384/reset/114 907s ok 1413 /checksum/SHA384/reset/115 907s ok 1414 /checksum/SHA384/reset/116 907s ok 1415 /checksum/SHA384/reset/117 907s ok 1416 /checksum/SHA384/reset/118 907s ok 1417 /checksum/SHA384/reset/119 907s ok 1418 /checksum/SHA384/reset/120 907s ok 1419 /checksum/SHA384/reset/121 907s ok 1420 /checksum/SHA384/reset/122 907s ok 1421 /checksum/SHA384/reset/123 907s ok 1422 /checksum/SHA384/reset/124 907s ok 1423 /checksum/SHA384/reset/125 907s ok 1424 /checksum/SHA384/reset/126 907s ok 1425 /checksum/SHA384/reset/127 907s ok 1426 /checksum/SHA384/reset/128 907s ok 1427 /checksum/SHA384/reset/129 907s ok 1428 /checksum/SHA384/reset/130 907s ok 1429 /checksum/SHA384/reset/131 907s ok 1430 /checksum/SHA384/reset/132 907s ok 1431 /checksum/SHA384/reset/133 907s ok 1432 /checksum/SHA384/reset/134 907s ok 1433 /checksum/SHA384/reset/135 907s ok 1434 /checksum/SHA384/reset/136 907s ok 1435 /checksum/SHA384/reset/137 907s ok 1436 /checksum/SHA384/reset/138 907s ok 1437 /checksum/SHA384/reset/139 907s ok 1438 /checksum/SHA384/reset/140 907s ok 1439 /checksum/SHA384/reset/141 907s ok 1440 /checksum/SHA384/reset/142 907s ok 1441 /checksum/SHA384/reset/143 907s ok 1442 /checksum/SHA384/reset/144 907s ok 1443 /checksum/SHA384/reset/145 907s ok 1444 /checksum/SHA384/reset/146 907s ok 1445 /checksum/SHA384/reset/147 907s ok 1446 /checksum/SHA384/reset/148 907s ok 1447 /checksum/SHA384/reset/149 907s ok 1448 /checksum/SHA384/reset/150 907s ok 1449 /checksum/SHA384/reset/151 907s ok 1450 /checksum/SHA384/reset/152 907s ok 1451 /checksum/SHA384/reset/153 907s ok 1452 /checksum/SHA384/reset/154 907s ok 1453 /checksum/SHA384/reset/155 907s ok 1454 /checksum/SHA384/reset/156 907s ok 1455 /checksum/SHA384/reset/157 907s ok 1456 /checksum/SHA384/reset/158 907s ok 1457 /checksum/SHA384/reset/159 907s ok 1458 /checksum/SHA384/reset/160 907s ok 1459 /checksum/SHA384/reset/161 907s ok 1460 /checksum/SHA384/reset/162 907s ok 1461 /checksum/SHA384/reset/163 907s ok 1462 /checksum/SHA384/reset/164 907s ok 1463 /checksum/SHA384/reset/165 907s ok 1464 /checksum/SHA384/reset/166 907s ok 1465 /checksum/SHA384/reset/167 907s ok 1466 /checksum/SHA384/reset/168 907s ok 1467 /checksum/SHA384/reset/169 907s ok 1468 /checksum/SHA384/reset/170 907s ok 1469 /checksum/SHA384/reset/171 907s ok 1470 /checksum/SHA384/reset/172 907s ok 1471 /checksum/SHA384/reset/173 907s ok 1472 /checksum/SHA384/reset/174 907s ok 1473 /checksum/SHA384/reset/175 907s ok 1474 /checksum/SHA384/reset/176 907s ok 1475 /checksum/SHA384/reset/177 907s ok 1476 /checksum/SHA384/reset/178 907s ok 1477 /checksum/SHA384/reset/179 907s ok 1478 /checksum/SHA384/reset/180 907s ok 1479 /checksum/SHA384/reset/181 907s ok 1480 /checksum/SHA384/reset/182 907s ok 1481 /checksum/SHA384/reset/183 907s # End of reset tests 907s # End of SHA384 tests 907s # Start of SHA512 tests 907s ok 1482 /checksum/SHA512/0 907s ok 1483 /checksum/SHA512/1 907s ok 1484 /checksum/SHA512/2 907s ok 1485 /checksum/SHA512/3 907s ok 1486 /checksum/SHA512/4 907s ok 1487 /checksum/SHA512/5 907s ok 1488 /checksum/SHA512/6 907s ok 1489 /checksum/SHA512/7 907s ok 1490 /checksum/SHA512/8 907s ok 1491 /checksum/SHA512/9 907s ok 1492 /checksum/SHA512/10 907s ok 1493 /checksum/SHA512/11 907s ok 1494 /checksum/SHA512/12 907s ok 1495 /checksum/SHA512/13 907s ok 1496 /checksum/SHA512/14 907s ok 1497 /checksum/SHA512/15 907s ok 1498 /checksum/SHA512/16 907s ok 1499 /checksum/SHA512/17 907s ok 1500 /checksum/SHA512/18 907s ok 1501 /checksum/SHA512/19 907s ok 1502 /checksum/SHA512/20 907s ok 1503 /checksum/SHA512/21 907s ok 1504 /checksum/SHA512/22 907s ok 1505 /checksum/SHA512/23 907s ok 1506 /checksum/SHA512/24 907s ok 1507 /checksum/SHA512/25 907s ok 1508 /checksum/SHA512/26 907s ok 1509 /checksum/SHA512/27 907s ok 1510 /checksum/SHA512/28 907s ok 1511 /checksum/SHA512/29 907s ok 1512 /checksum/SHA512/30 907s ok 1513 /checksum/SHA512/31 907s ok 1514 /checksum/SHA512/32 907s ok 1515 /checksum/SHA512/33 907s ok 1516 /checksum/SHA512/34 907s ok 1517 /checksum/SHA512/35 907s ok 1518 /checksum/SHA512/36 907s ok 1519 /checksum/SHA512/37 907s ok 1520 /checksum/SHA512/38 907s ok 1521 /checksum/SHA512/39 907s ok 1522 /checksum/SHA512/40 907s ok 1523 /checksum/SHA512/41 907s ok 1524 /checksum/SHA512/42 907s ok 1525 /checksum/SHA512/43 907s ok 1526 /checksum/SHA512/44 907s ok 1527 /checksum/SHA512/45 907s ok 1528 /checksum/SHA512/46 907s ok 1529 /checksum/SHA512/47 907s ok 1530 /checksum/SHA512/48 907s ok 1531 /checksum/SHA512/49 907s ok 1532 /checksum/SHA512/50 907s ok 1533 /checksum/SHA512/51 907s ok 1534 /checksum/SHA512/52 907s ok 1535 /checksum/SHA512/53 907s ok 1536 /checksum/SHA512/54 907s ok 1537 /checksum/SHA512/55 907s ok 1538 /checksum/SHA512/56 907s ok 1539 /checksum/SHA512/57 907s ok 1540 /checksum/SHA512/58 907s ok 1541 /checksum/SHA512/59 907s ok 1542 /checksum/SHA512/60 907s ok 1543 /checksum/SHA512/61 907s ok 1544 /checksum/SHA512/62 907s ok 1545 /checksum/SHA512/63 907s ok 1546 /checksum/SHA512/64 907s ok 1547 /checksum/SHA512/65 907s ok 1548 /checksum/SHA512/66 907s ok 1549 /checksum/SHA512/67 907s ok 1550 /checksum/SHA512/68 907s ok 1551 /checksum/SHA512/69 907s ok 1552 /checksum/SHA512/70 907s ok 1553 /checksum/SHA512/71 907s ok 1554 /checksum/SHA512/72 907s ok 1555 /checksum/SHA512/73 907s ok 1556 /checksum/SHA512/74 907s ok 1557 /checksum/SHA512/75 907s ok 1558 /checksum/SHA512/76 907s ok 1559 /checksum/SHA512/77 907s ok 1560 /checksum/SHA512/78 907s ok 1561 /checksum/SHA512/79 907s ok 1562 /checksum/SHA512/80 907s ok 1563 /checksum/SHA512/81 907s ok 1564 /checksum/SHA512/82 907s ok 1565 /checksum/SHA512/83 907s ok 1566 /checksum/SHA512/84 907s ok 1567 /checksum/SHA512/85 907s ok 1568 /checksum/SHA512/86 907s ok 1569 /checksum/SHA512/87 907s ok 1570 /checksum/SHA512/88 907s ok 1571 /checksum/SHA512/89 907s ok 1572 /checksum/SHA512/90 907s ok 1573 /checksum/SHA512/91 907s ok 1574 /checksum/SHA512/92 907s ok 1575 /checksum/SHA512/93 907s ok 1576 /checksum/SHA512/94 907s ok 1577 /checksum/SHA512/95 907s ok 1578 /checksum/SHA512/96 907s ok 1579 /checksum/SHA512/97 907s ok 1580 /checksum/SHA512/98 907s ok 1581 /checksum/SHA512/99 907s ok 1582 /checksum/SHA512/100 907s ok 1583 /checksum/SHA512/101 907s ok 1584 /checksum/SHA512/102 907s ok 1585 /checksum/SHA512/103 907s ok 1586 /checksum/SHA512/104 907s ok 1587 /checksum/SHA512/105 907s ok 1588 /checksum/SHA512/106 907s ok 1589 /checksum/SHA512/107 907s ok 1590 /checksum/SHA512/108 907s ok 1591 /checksum/SHA512/109 907s ok 1592 /checksum/SHA512/110 907s ok 1593 /checksum/SHA512/111 907s ok 1594 /checksum/SHA512/112 907s ok 1595 /checksum/SHA512/113 907s ok 1596 /checksum/SHA512/114 907s ok 1597 /checksum/SHA512/115 907s ok 1598 /checksum/SHA512/116 907s ok 1599 /checksum/SHA512/117 907s ok 1600 /checksum/SHA512/118 907s ok 1601 /checksum/SHA512/119 907s ok 1602 /checksum/SHA512/120 907s ok 1603 /checksum/SHA512/121 907s ok 1604 /checksum/SHA512/122 907s ok 1605 /checksum/SHA512/123 907s ok 1606 /checksum/SHA512/124 907s ok 1607 /checksum/SHA512/125 907s ok 1608 /checksum/SHA512/126 907s ok 1609 /checksum/SHA512/127 907s ok 1610 /checksum/SHA512/128 907s ok 1611 /checksum/SHA512/129 907s ok 1612 /checksum/SHA512/130 907s ok 1613 /checksum/SHA512/131 907s ok 1614 /checksum/SHA512/132 907s ok 1615 /checksum/SHA512/133 907s ok 1616 /checksum/SHA512/134 907s ok 1617 /checksum/SHA512/135 907s ok 1618 /checksum/SHA512/136 907s ok 1619 /checksum/SHA512/137 907s ok 1620 /checksum/SHA512/138 907s ok 1621 /checksum/SHA512/139 907s ok 1622 /checksum/SHA512/140 907s ok 1623 /checksum/SHA512/141 907s ok 1624 /checksum/SHA512/142 907s ok 1625 /checksum/SHA512/143 907s ok 1626 /checksum/SHA512/144 907s ok 1627 /checksum/SHA512/145 907s ok 1628 /checksum/SHA512/146 907s ok 1629 /checksum/SHA512/147 907s ok 1630 /checksum/SHA512/148 907s ok 1631 /checksum/SHA512/149 907s ok 1632 /checksum/SHA512/150 907s ok 1633 /checksum/SHA512/151 907s ok 1634 /checksum/SHA512/152 907s ok 1635 /checksum/SHA512/153 907s ok 1636 /checksum/SHA512/154 907s ok 1637 /checksum/SHA512/155 907s ok 1638 /checksum/SHA512/156 907s ok 1639 /checksum/SHA512/157 907s ok 1640 /checksum/SHA512/158 907s ok 1641 /checksum/SHA512/159 907s ok 1642 /checksum/SHA512/160 907s ok 1643 /checksum/SHA512/161 907s ok 1644 /checksum/SHA512/162 907s ok 1645 /checksum/SHA512/163 907s ok 1646 /checksum/SHA512/164 907s ok 1647 /checksum/SHA512/165 907s ok 1648 /checksum/SHA512/166 907s ok 1649 /checksum/SHA512/167 907s ok 1650 /checksum/SHA512/168 907s ok 1651 /checksum/SHA512/169 907s ok 1652 /checksum/SHA512/170 907s ok 1653 /checksum/SHA512/171 907s ok 1654 /checksum/SHA512/172 907s ok 1655 /checksum/SHA512/173 907s ok 1656 /checksum/SHA512/174 907s ok 1657 /checksum/SHA512/175 907s ok 1658 /checksum/SHA512/176 907s ok 1659 /checksum/SHA512/177 907s ok 1660 /checksum/SHA512/178 907s ok 1661 /checksum/SHA512/179 907s ok 1662 /checksum/SHA512/180 907s ok 1663 /checksum/SHA512/181 907s ok 1664 /checksum/SHA512/182 907s ok 1665 /checksum/SHA512/183 907s ok 1666 /checksum/SHA512/string 907s ok 1667 /checksum/SHA512/bytes 907s # Start of reset tests 907s ok 1668 /checksum/SHA512/reset/0 907s ok 1669 /checksum/SHA512/reset/1 907s ok 1670 /checksum/SHA512/reset/2 907s ok 1671 /checksum/SHA512/reset/3 907s ok 1672 /checksum/SHA512/reset/4 907s ok 1673 /checksum/SHA512/reset/5 907s ok 1674 /checksum/SHA512/reset/6 907s ok 1675 /checksum/SHA512/reset/7 907s ok 1676 /checksum/SHA512/reset/8 907s ok 1677 /checksum/SHA512/reset/9 907s ok 1678 /checksum/SHA512/reset/10 907s ok 1679 /checksum/SHA512/reset/11 907s ok 1680 /checksum/SHA512/reset/12 907s ok 1681 /checksum/SHA512/reset/13 907s ok 1682 /checksum/SHA512/reset/14 907s ok 1683 /checksum/SHA512/reset/15 907s ok 1684 /checksum/SHA512/reset/16 907s ok 1685 /checksum/SHA512/reset/17 907s ok 1686 /checksum/SHA512/reset/18 907s ok 1687 /checksum/SHA512/reset/19 907s ok 1688 /checksum/SHA512/reset/20 907s ok 1689 /checksum/SHA512/reset/21 907s ok 1690 /checksum/SHA512/reset/22 907s ok 1691 /checksum/SHA512/reset/23 907s ok 1692 /checksum/SHA512/reset/24 907s ok 1693 /checksum/SHA512/reset/25 907s ok 1694 /checksum/SHA512/reset/26 907s ok 1695 /checksum/SHA512/reset/27 907s ok 1696 /checksum/SHA512/reset/28 907s ok 1697 /checksum/SHA512/reset/29 907s ok 1698 /checksum/SHA512/reset/30 907s ok 1699 /checksum/SHA512/reset/31 907s ok 1700 /checksum/SHA512/reset/32 907s ok 1701 /checksum/SHA512/reset/33 907s ok 1702 /checksum/SHA512/reset/34 907s ok 1703 /checksum/SHA512/reset/35 907s ok 1704 /checksum/SHA512/reset/36 907s ok 1705 /checksum/SHA512/reset/37 907s ok 1706 /checksum/SHA512/reset/38 907s ok 1707 /checksum/SHA512/reset/39 907s ok 1708 /checksum/SHA512/reset/40 907s ok 1709 /checksum/SHA512/reset/41 907s ok 1710 /checksum/SHA512/reset/42 907s ok 1711 /checksum/SHA512/reset/43 907s ok 1712 /checksum/SHA512/reset/44 907s ok 1713 /checksum/SHA512/reset/45 907s ok 1714 /checksum/SHA512/reset/46 907s ok 1715 /checksum/SHA512/reset/47 907s ok 1716 /checksum/SHA512/reset/48 907s ok 1717 /checksum/SHA512/reset/49 907s ok 1718 /checksum/SHA512/reset/50 907s ok 1719 /checksum/SHA512/reset/51 907s ok 1720 /checksum/SHA512/reset/52 907s ok 1721 /checksum/SHA512/reset/53 907s ok 1722 /checksum/SHA512/reset/54 907s ok 1723 /checksum/SHA512/reset/55 907s ok 1724 /checksum/SHA512/reset/56 907s ok 1725 /checksum/SHA512/reset/57 907s ok 1726 /checksum/SHA512/reset/58 907s ok 1727 /checksum/SHA512/reset/59 907s ok 1728 /checksum/SHA512/reset/60 907s ok 1729 /checksum/SHA512/reset/61 907s ok 1730 /checksum/SHA512/reset/62 907s ok 1731 /checksum/SHA512/reset/63 907s ok 1732 /checksum/SHA512/reset/64 907s ok 1733 /checksum/SHA512/reset/65 907s ok 1734 /checksum/SHA512/reset/66 907s ok 1735 /checksum/SHA512/reset/67 907s ok 1736 /checksum/SHA512/reset/68 907s ok 1737 /checksum/SHA512/reset/69 907s ok 1738 /checksum/SHA512/reset/70 907s ok 1739 /checksum/SHA512/reset/71 907s ok 1740 /checksum/SHA512/reset/72 907s ok 1741 /checksum/SHA512/reset/73 907s ok 1742 /checksum/SHA512/reset/74 907s ok 1743 /checksum/SHA512/reset/75 907s ok 1744 /checksum/SHA512/reset/76 907s ok 1745 /checksum/SHA512/reset/77 907s ok 1746 /checksum/SHA512/reset/78 907s ok 1747 /checksum/SHA512/reset/79 907s ok 1748 /checksum/SHA512/reset/80 907s ok 1749 /checksum/SHA512/reset/81 907s ok 1750 /checksum/SHA512/reset/82 907s ok 1751 /checksum/SHA512/reset/83 907s ok 1752 /checksum/SHA512/reset/84 907s ok 1753 /checksum/SHA512/reset/85 907s ok 1754 /checksum/SHA512/reset/86 907s ok 1755 /checksum/SHA512/reset/87 907s ok 1756 /checksum/SHA512/reset/88 907s ok 1757 /checksum/SHA512/reset/89 907s ok 1758 /checksum/SHA512/reset/90 907s ok 1759 /checksum/SHA512/reset/91 907s ok 1760 /checksum/SHA512/reset/92 907s ok 1761 /checksum/SHA512/reset/93 907s ok 1762 /checksum/SHA512/reset/94 907s ok 1763 /checksum/SHA512/reset/95 907s ok 1764 /checksum/SHA512/reset/96 907s ok 1765 /checksum/SHA512/reset/97 907s ok 1766 /checksum/SHA512/reset/98 907s ok 1767 /checksum/SHA512/reset/99 907s ok 1768 /checksum/SHA512/reset/100 907s ok 1769 /checksum/SHA512/reset/101 907s ok 1770 /checksum/SHA512/reset/102 907s ok 1771 /checksum/SHA512/reset/103 907s ok 1772 /checksum/SHA512/reset/104 907s ok 1773 /checksum/SHA512/reset/105 907s ok 1774 /checksum/SHA512/reset/106 907s ok 1775 /checksum/SHA512/reset/107 907s ok 1776 /checksum/SHA512/reset/108 907s ok 1777 /checksum/SHA512/reset/109 907s ok 1778 /checksum/SHA512/reset/110 907s ok 1779 /checksum/SHA512/reset/111 907s ok 1780 /checksum/SHA512/reset/112 907s ok 1781 /checksum/SHA512/reset/113 907s ok 1782 /checksum/SHA512/reset/114 907s ok 1783 /checksum/SHA512/reset/115 907s ok 1784 /checksum/SHA512/reset/116 907s ok 1785 /checksum/SHA512/reset/117 907s ok 1786 /checksum/SHA512/reset/118 907s ok 1787 /checksum/SHA512/reset/119 907s ok 1788 /checksum/SHA512/reset/120 907s ok 1789 /checksum/SHA512/reset/121 907s ok 1790 /checksum/SHA512/reset/122 907s ok 1791 /checksum/SHA512/reset/123 907s ok 1792 /checksum/SHA512/reset/124 907s ok 1793 /checksum/SHA512/reset/125 907s ok 1794 /checksum/SHA512/reset/126 907s ok 1795 /checksum/SHA512/reset/127 907s ok 1796 /checksum/SHA512/reset/128 907s ok 1797 /checksum/SHA512/reset/129 907s ok 1798 /checksum/SHA512/reset/130 907s ok 1799 /checksum/SHA512/reset/131 907s ok 1800 /checksum/SHA512/reset/132 907s ok 1801 /checksum/SHA512/reset/133 907s ok 1802 /checksum/SHA512/reset/134 907s ok 1803 /checksum/SHA512/reset/135 907s ok 1804 /checksum/SHA512/reset/136 907s ok 1805 /checksum/SHA512/reset/137 907s ok 1806 /checksum/SHA512/reset/138 907s ok 1807 /checksum/SHA512/reset/139 907s ok 1808 /checksum/SHA512/reset/140 907s ok 1809 /checksum/SHA512/reset/141 907s ok 1810 /checksum/SHA512/reset/142 907s ok 1811 /checksum/SHA512/reset/143 907s ok 1812 /checksum/SHA512/reset/144 907s ok 1813 /checksum/SHA512/reset/145 907s ok 1814 /checksum/SHA512/reset/146 907s ok 1815 /checksum/SHA512/reset/147 907s ok 1816 /checksum/SHA512/reset/148 907s ok 1817 /checksum/SHA512/reset/149 907s ok 1818 /checksum/SHA512/reset/150 907s ok 1819 /checksum/SHA512/reset/151 907s ok 1820 /checksum/SHA512/reset/152 907s ok 1821 /checksum/SHA512/reset/153 907s ok 1822 /checksum/SHA512/reset/154 907s ok 1823 /checksum/SHA512/reset/155 907s ok 1824 /checksum/SHA512/reset/156 907s ok 1825 /checksum/SHA512/reset/157 907s ok 1826 /checksum/SHA512/reset/158 907s ok 1827 /checksum/SHA512/reset/159 907s ok 1828 /checksum/SHA512/reset/160 907s ok 1829 /checksum/SHA512/reset/161 907s ok 1830 /checksum/SHA512/reset/162 907s ok 1831 /checksum/SHA512/reset/163 907s ok 1832 /checksum/SHA512/reset/164 907s ok 1833 /checksum/SHA512/reset/165 907s ok 1834 /checksum/SHA512/reset/166 907s ok 1835 /checksum/SHA512/reset/167 907s ok 1836 /checksum/SHA512/reset/168 907s ok 1837 /checksum/SHA512/reset/169 907s ok 1838 /checksum/SHA512/reset/170 907s ok 1839 /checksum/SHA512/reset/171 907s ok 1840 /checksum/SHA512/reset/172 907s ok 1841 /checksum/SHA512/reset/173 907s ok 1842 /checksum/SHA512/reset/174 907s ok 1843 /checksum/SHA512/reset/175 907s ok 1844 /checksum/SHA512/reset/176 907s ok 1845 /checksum/SHA512/reset/177 907s ok 1846 /checksum/SHA512/reset/178 907s ok 1847 /checksum/SHA512/reset/179 907s ok 1848 /checksum/SHA512/reset/180 907s ok 1849 /checksum/SHA512/reset/181 907s ok 1850 /checksum/SHA512/reset/182 907s ok 1851 /checksum/SHA512/reset/183 907s # End of reset tests 907s # End of SHA512 tests 907s # End of checksum tests 907s ok - glib/checksum.test 907s # Running test: glib/utils.test 907s TAP version 14 907s # random seed: R02S68f2f00a0b013b6a73eb5c2a88df4c8b 907s 1..40 907s # Start of utils tests 907s ok 1 /utils/language-names 907s ok 2 /utils/locale-variants 907s ok 3 /utils/version 907s ok 4 /utils/appname 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 907s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 907s ok 5 /utils/prgname-thread-safety 907s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 907s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 907s ok 6 /utils/tmpdir 907s ok 7 /utils/basic_bits 907s ok 8 /utils/bits 907s ok 9 /utils/swap 907s ok 10 /utils/find-program 907s ok 11 /utils/find-program-for-path 907s ok 12 /utils/debug 907s ok 13 /utils/codeset 907s ok 14 /utils/codeset2 907s ok 15 /utils/console-charset 907s ok 16 /utils/gettext 907s ok 17 /utils/username 907s ok 18 /utils/realname 907s ok 19 /utils/hostname 907s ok 20 /utils/xdgdirs 907s ok 21 /utils/specialdir 907s # NAME: Ubuntu 907s ok 22 /utils/os-info 907s ok 23 /utils/clear-pointer 907s ok 24 /utils/clear-pointer-cast 907s ok 25 /utils/take-pointer 907s ok 26 /utils/clear-source 907s ok 27 /utils/misc-mem 907s # /utils/aligned-mem summary: Aligned memory allocator 907s # Alignment must not be zero 907s # Alignment must be a power of two 907s # Alignment must be a multiple of sizeof(void*) 907s ok 28 /utils/aligned-mem 907s # /utils/free-sized summary: Check that g_free_sized() works 907s ok 29 /utils/free-sized 907s ok 30 /utils/nullify 907s ok 31 /utils/atexit 907s ok 32 /utils/check-setuid 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 907s ok 33 /utils/int-limits 907s ok 34 /utils/clear-list 907s ok 35 /utils/clear-slist 907s # Start of specialdir tests 907s ok 36 /utils/specialdir/desktop 907s # End of specialdir tests 907s # Start of clear-pointer tests 907s ok 37 /utils/clear-pointer/side-effects 907s # End of clear-pointer tests 907s # Start of aligned-mem tests 907s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 907s ok 38 /utils/aligned-mem/alignment 907s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 907s ok 39 /utils/aligned-mem/zeroed 907s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 907s ok 40 /utils/aligned-mem/free-sized 907s # Start of subprocess tests 907s # End of subprocess tests 907s # End of aligned-mem tests 907s # End of utils tests 907s ok - glib/utils.test 907s # Running test: glib/macros-c-99.test 907s TAP version 14 907s # random seed: R02S86d217ca78c73bc141e097720e8411d1 907s 1..4 907s # Start of C tests 907s ok 1 /C/standard-99 907s # End of C tests 907s # Start of alignof tests 907s ok 2 /alignof/fallback 907s # End of alignof tests 907s # Start of assert tests 907s ok 3 /assert/static 907s # End of assert tests 907s # Start of struct tests 907s ok 4 /struct/sizeof_member 907s # End of struct tests 907s ok - glib/macros-c-99.test 907s # Running test: glib/portal-support-flatpak-network-only.test 907s TAP version 14 907s # random seed: R02S5ffd9fa5a0f8ec2318ef890ba8498bf9 907s 1..1 907s # Start of portal-support tests 907s # Start of flatpak tests 907s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/home 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/cache 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/system-config2 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/config 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/system-data2 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/data 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/state 907s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/runtime 907s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_BH6ZW2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 907s ok 1 /portal-support/flatpak/network 907s # End of flatpak tests 907s # End of portal-support tests 907s ok - glib/portal-support-flatpak-network-only.test 907s # Running test: glib/cxx-14.test 907s TAP version 14 907s # random seed: R02S151b72ef1d87e3035bc381c699812771 907s 1..2 907s # Start of gtask tests 907s # 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. 907s ok 1 /gtask/name 907s # Start of name tests 907s # 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. 907s ok 2 /gtask/name/macro-wrapper 907s # End of name tests 907s # End of gtask tests 907s ok - glib/cxx-14.test 907s # Running test: glib/threadtests.test 907s TAP version 14 907s # random seed: R02Sc9c1aa72700d1458d4b2b42e05ffaa6c 907s 1..5 907s # Start of GObject tests 907s ok 1 /GObject/threaded-object-init 908s ok 2 /GObject/threaded-weak-ref 908s # slow test /GObject/threaded-weak-ref executed in 0.74 secs 908s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 908s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 908s # Start of threaded-weak-ref tests 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 908s # /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. 908s ok 5 /GObject/threaded-weak-ref/on-finalization 908s # End of threaded-weak-ref tests 908s # End of GObject tests 908s ok - glib/threadtests.test 908s # Running test: glib/fileutils.test 908s TAP version 14 908s # random seed: R02S744c00866f06438fc77c7d5891743ef7 908s 1..27 908s # Start of fileutils tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/paths/.dirs/runtime 908s ok 1 /fileutils/paths 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/build-path/.dirs/runtime 908s ok 2 /fileutils/build-path 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/build-pathv/.dirs/runtime 908s ok 3 /fileutils/build-pathv 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/build-filename/.dirs/runtime 908s ok 4 /fileutils/build-filename 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/build-filenamev/.dirs/runtime 908s ok 5 /fileutils/build-filenamev 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents/.dirs/runtime 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s ok 6 /fileutils/mkdir-with-parents 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/mkdir-with-parents-permission/.dirs/runtime 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s ok 7 /fileutils/mkdir-with-parents-permission 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/format-size-for-display/.dirs/runtime 908s ok 8 /fileutils/format-size-for-display 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/errors/.dirs/runtime 908s ok 9 /fileutils/errors 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/basename/.dirs/runtime 908s ok 10 /fileutils/basename 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/get-basename/.dirs/runtime 908s ok 11 /fileutils/get-basename 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/dirname/.dirs/runtime 908s ok 12 /fileutils/dirname 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/dir-make-tmp/.dirs/runtime 908s ok 13 /fileutils/dir-make-tmp 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/file-open-tmp/.dirs/runtime 908s ok 14 /fileutils/file-open-tmp 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/file-test/.dirs/runtime 908s ok 15 /fileutils/file-test 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/mkstemp/.dirs/runtime 908s ok 16 /fileutils/mkstemp 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/mkdtemp/.dirs/runtime 908s ok 17 /fileutils/mkdtemp 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/get-contents/.dirs/runtime 908s ok 18 /fileutils/get-contents 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/get-contents-large-file/.dirs/runtime 908s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/set-contents/.dirs/runtime 908s ok 20 /fileutils/set-contents 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/.dirs/runtime 908s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 908s # Flags 0 and test 0 908s # Flags 0 and test 1 908s # Flags 0 and test 2 908s # Flags 0 and test 3 908s # Flags 0 and test 4 908s # Flags 0 and test 5 908s # Flags 1 and test 0 908s # Flags 1 and test 1 908s # Flags 1 and test 2 908s # Flags 1 and test 3 908s # Flags 1 and test 4 908s # Flags 1 and test 5 908s # Flags 2 and test 0 908s # Flags 2 and test 1 908s # Flags 2 and test 2 908s # Flags 2 and test 3 908s # Flags 2 and test 4 908s # Flags 2 and test 5 908s # Flags 3 and test 0 908s # Flags 3 and test 1 908s # Flags 3 and test 2 908s # Flags 3 and test 3 908s # Flags 3 and test 4 908s # Flags 3 and test 5 908s # Flags 4 and test 0 908s # Flags 4 and test 1 908s # Flags 4 and test 2 908s # Flags 4 and test 3 908s # Flags 4 and test 4 908s # Flags 4 and test 5 908s # Flags 5 and test 0 908s # Flags 5 and test 1 908s # Flags 5 and test 2 908s # Flags 5 and test 3 908s # Flags 5 and test 4 908s # Flags 5 and test 5 908s # Flags 6 and test 0 908s # Flags 6 and test 1 908s # Flags 6 and test 2 908s # Flags 6 and test 3 908s # Flags 6 and test 4 908s # Flags 6 and test 5 908s ok 21 /fileutils/set-contents-full 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/read-link/.dirs/runtime 908s ok 22 /fileutils/read-link 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/stdio-wrappers/.dirs/runtime 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s ok 23 /fileutils/stdio-wrappers 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/fopen-modes/.dirs/runtime 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 908s # Testing fopen() mode 'w' 908s # Testing fopen() mode 'r' 908s # Testing fopen() mode 'a' 908s # Testing fopen() mode 'w+' 908s # Testing fopen() mode 'r+' 908s # Testing fopen() mode 'a+' 908s # Testing fopen() mode 'wb' 908s # Testing fopen() mode 'rb' 908s # Testing fopen() mode 'ab' 908s # Testing fopen() mode 'w+b' 908s # Testing fopen() mode 'r+b' 908s # Testing fopen() mode 'a+b' 908s # Testing fopen() mode 'wb+' 908s # Testing fopen() mode 'rb+' 908s # Testing fopen() mode 'ab+' 908s ok 24 /fileutils/fopen-modes 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/clear-fd/.dirs/runtime 908s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 908s # Will be closed by autocleanup: 3, -42 908s # Testing error handling 908s ok 25 /fileutils/clear-fd 908s # Start of set-contents-full tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-file/.dirs/runtime 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 908s ok 26 /fileutils/set-contents-full/read-only-file 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_LZ26W2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 908s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 908s # Flags 0 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 1 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 2 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 3 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 4 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 5 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s # Flags 6 908s # We do not have CAP_DAC_OVERRIDE or equivalent 908s ok 27 /fileutils/set-contents-full/read-only-directory 908s # End of set-contents-full tests 908s # Start of clear-fd tests 908s # Start of subprocess tests 908s # End of subprocess tests 908s # End of clear-fd tests 908s # End of fileutils tests 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-Z0OAX2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-9ACAX2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-D6EAX2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-F499W2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-NE99W2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-HSBAX2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2/glib-file-set-contents-full-rodir-V7AAX2: Directory not empty 908s Unable to clean up temporary directory /tmp/test_fileutils_LZ26W2: Directory not empty 908s ok - glib/fileutils.test 908s # Running test: glib/onceinit.test 908s TAP version 14 908s # random seed: R02S7e674dd3e49910513a0352e6c2fa5815 908s 1..1 908s # Start of thread tests 908s ok 1 /thread/onceinit 908s # End of thread tests 908s ok - glib/onceinit.test 908s # Running test: glib/charset.test 908s TAP version 14 908s # random seed: R02S3b359caa94f67c3b7240a2b42c70bc5f 908s 1..2 908s # Start of charset tests 908s # Test 0 908s # Test 1 908s # Test 2 908s # Test 3 908s ok 1 /charset/language_names_with_category 908s ok 2 /charset/language_names_with_category_async 908s # End of charset tests 908s ok - glib/charset.test 908s # Running test: glib/converter-stream.test 908s TAP version 14 908s # random seed: R02Sa068d99067b174ec14d73d29f028b941 908s 1..17 908s # Start of converter tests 908s ok 1 /converter/basics 908s # End of converter tests 908s # Start of converter-input-stream tests 908s ok 2 /converter-input-stream/expander 908s ok 3 /converter-input-stream/compressor 908s # Start of truncation tests 908s ok 4 /converter-input-stream/truncation/zlib 908s ok 5 /converter-input-stream/truncation/gzip 908s # Executing: glib/converter-stream.test 908s ok 6 /converter-input-stream/truncation/raw 908s # End of truncation tests 908s # Start of charset tests 908s ok 7 /converter-input-stream/charset/utf8->latin1 908s ok 8 /converter-input-stream/charset/latin1->utf8 908s ok 9 /converter-input-stream/charset/fallbacks 908s # End of charset tests 908s # End of converter-input-stream tests 908s # Start of converter-output-stream tests 908s # Start of roundtrip tests 908s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 908s ok 10 /converter-output-stream/roundtrip/zlib-0 908s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 909s ok 11 /converter-output-stream/roundtrip/zlib-9 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 909s ok 12 /converter-output-stream/roundtrip/gzip-0 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 909s ok 13 /converter-output-stream/roundtrip/gzip-9 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 909s ok 14 /converter-output-stream/roundtrip/raw-0 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 909s ok 15 /converter-output-stream/roundtrip/raw-9 909s # End of roundtrip tests 909s # End of converter-output-stream tests 909s # Start of converter-stream tests 909s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 909s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6475ad8 and GSocketClientAsyncConnectData 0x646fd20 909s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 909s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 909s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64767b0 for GSocketClientAsyncConnectData 0x646fd20 909s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 909s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 909s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 909s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 909s ok 16 /converter-stream/pollable 909s ok 17 /converter-stream/leftover 909s # End of converter-stream tests 909s ok - glib/converter-stream.test 909s # Running test: glib/gdbus-test-codegen.test 909s TAP version 14 909s # random seed: R02S2de258c558b8c073f94333273fe60dd4 909s 1..8 909s # Start of gdbus tests 909s # Start of codegen tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/annotations/.dirs/runtime 909s ok 1 /gdbus/codegen/annotations 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/interface_stability/.dirs/runtime 909s ok 2 /gdbus/codegen/interface_stability 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/object-manager/.dirs/runtime 909s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 909s ok 3 /gdbus/codegen/object-manager 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/property-naming/.dirs/runtime 909s ok 4 /gdbus/codegen/property-naming 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/autocleanups/.dirs/runtime 909s ok 5 /gdbus/codegen/autocleanups 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/deprecations/.dirs/runtime 909s ok 6 /gdbus/codegen/deprecations 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 909s ok 7 /gdbus/codegen/standalone-interface-info 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_EG4HX2/gdbus/codegen/unix-fd-list/.dirs/runtime 909s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 909s ok 8 /gdbus/codegen/unix-fd-list 909s # End of codegen tests 909s # End of gdbus tests 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s ok - glib/gdbus-test-codegen.test 909s # Running test: glib/shell.test 909s TAP version 14 909s # random seed: R02Sf2d9870e4da9984f451d77e6385c3799 909s 1..51 909s # Start of shell tests 909s # Start of cmdline tests 909s test cmdline: foo bar 909s ok 1 /shell/cmdline/0 909s test cmdline: foo 'bar' 909s ok 2 /shell/cmdline/1 909s test cmdline: foo "bar" 909s ok 3 /shell/cmdline/2 909s test cmdline: foo '' 'bar' 909s ok 4 /shell/cmdline/3 909s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 909s ok 5 /shell/cmdline/4 909s test cmdline: foo blah foo bar baz 909s ok 6 /shell/cmdline/5 909s test cmdline: foo ' spaces more spaces lots of spaces in this ' 909s ok 7 /shell/cmdline/6 909s test cmdline: foo \ 909s bar 909s ok 8 /shell/cmdline/7 909s test cmdline: foo '' '' 909s ok 9 /shell/cmdline/8 909s test cmdline: foo \" la la la 909s ok 10 /shell/cmdline/9 909s test cmdline: foo \ foo woo woo\ 909s ok 11 /shell/cmdline/10 909s test cmdline: foo "yada yada \$\"" 909s ok 12 /shell/cmdline/11 909s test cmdline: foo "c:\\" 909s ok 13 /shell/cmdline/12 909s test cmdline: foo # bla bla bla 909s bar 909s ok 14 /shell/cmdline/13 909s test cmdline: foo a#b 909s ok 15 /shell/cmdline/14 909s test cmdline: #foo 909s ok 16 /shell/cmdline/15 909s test cmdline: foo bar \ 909s ok 17 /shell/cmdline/16 909s test cmdline: foo 'bar baz 909s ok 18 /shell/cmdline/17 909s test cmdline: foo '"bar" baz 909s ok 19 /shell/cmdline/18 909s test cmdline: 909s ok 20 /shell/cmdline/19 909s test cmdline: 909s ok 21 /shell/cmdline/20 909s test cmdline: # foo bar 909s ok 22 /shell/cmdline/21 909s test cmdline: foo '/bar/summer'\''09 tours.pdf' 909s ok 23 /shell/cmdline/22 909s # End of cmdline tests 909s # Start of quote tests 909s ok 24 /shell/quote/0 909s ok 25 /shell/quote/1 909s ok 26 /shell/quote/2 909s ok 27 /shell/quote/3 909s ok 28 /shell/quote/4 909s ok 29 /shell/quote/5 909s ok 30 /shell/quote/6 909s # End of quote tests 909s # Start of unquote tests 909s ok 31 /shell/unquote/0 909s ok 32 /shell/unquote/1 909s ok 33 /shell/unquote/2 909s ok 34 /shell/unquote/3 909s ok 35 /shell/unquote/4 909s ok 36 /shell/unquote/5 909s ok 37 /shell/unquote/6 909s ok 38 /shell/unquote/7 909s ok 39 /shell/unquote/8 909s ok 40 /shell/unquote/9 909s ok 41 /shell/unquote/10 909s ok 42 /shell/unquote/11 909s ok 43 /shell/unquote/12 909s ok 44 /shell/unquote/13 909s ok 45 /shell/unquote/14 909s ok 46 /shell/unquote/15 909s ok 47 /shell/unquote/16 909s ok 48 /shell/unquote/17 909s ok 49 /shell/unquote/18 909s ok 50 /shell/unquote/19 909s ok 51 /shell/unquote/20 909s # End of unquote tests 909s # End of shell tests 909s ok - glib/shell.test 909s # Running test: glib/gdbus-connection-loss.test 909s TAP version 14 909s # random seed: R02Scaecea9881ba60bffef5f62407baee92 909s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 909s 1..1 909s # Start of gdbus tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_R1BJX2/gdbus/connection-loss/.dirs/runtime 909s ok 1 /gdbus/connection-loss 909s # End of gdbus tests 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 909s ok - glib/gdbus-connection-loss.test 909s # Running test: glib/thumbnail-verification.test 909s TAP version 14 909s # random seed: R02S00ca0db6bea6e412d73b093e739c65c7 909s 1..1 909s # Start of png-thumbs tests 909s ok 1 /png-thumbs/validity 909s # End of png-thumbs tests 909s ok - glib/thumbnail-verification.test 909s # Running test: glib/markup-escape.test 909s TAP version 14 909s # random seed: R02S829a06125b910da6861027eec6bffc8a 909s 1..41 909s # Start of markup tests 909s ok 1 /markup/format 909s # Start of escape-text tests 909s ok 2 /markup/escape-text/0 909s ok 3 /markup/escape-text/1 909s ok 4 /markup/escape-text/2 909s ok 5 /markup/escape-text/3 909s ok 6 /markup/escape-text/4 909s ok 7 /markup/escape-text/5 909s ok 8 /markup/escape-text/6 909s ok 9 /markup/escape-text/7 909s ok 10 /markup/escape-text/8 909s ok 11 /markup/escape-text/9 909s ok 12 /markup/escape-text/10 909s ok 13 /markup/escape-text/11 909s ok 14 /markup/escape-text/12 909s ok 15 /markup/escape-text/13 909s ok 16 /markup/escape-text/14 909s ok 17 /markup/escape-text/15 909s ok 18 /markup/escape-text/16 909s ok 19 /markup/escape-text/17 909s ok 20 /markup/escape-text/18 909s ok 21 /markup/escape-text/19 909s ok 22 /markup/escape-text/20 909s ok 23 /markup/escape-text/21 909s ok 24 /markup/escape-text/22 909s # End of escape-text tests 909s # Start of escape-unichar tests 909s ok 25 /markup/escape-unichar/0 909s ok 26 /markup/escape-unichar/1 909s ok 27 /markup/escape-unichar/2 909s ok 28 /markup/escape-unichar/3 909s ok 29 /markup/escape-unichar/4 909s ok 30 /markup/escape-unichar/5 909s ok 31 /markup/escape-unichar/6 909s ok 32 /markup/escape-unichar/7 909s ok 33 /markup/escape-unichar/8 909s ok 34 /markup/escape-unichar/9 909s ok 35 /markup/escape-unichar/10 909s ok 36 /markup/escape-unichar/11 909s ok 37 /markup/escape-unichar/12 909s ok 38 /markup/escape-unichar/13 909s ok 39 /markup/escape-unichar/14 909s ok 40 /markup/escape-unichar/15 909s ok 41 /markup/escape-unichar/16 909s # End of escape-unichar tests 909s # End of markup tests 909s ok - glib/markup-escape.test 909s # Running test: glib/hash.test 909s TAP version 14 909s # random seed: R02S381a0bf43f49765e9157dd4b0695de14 909s 1..34 909s # Start of hash tests 909s ok 1 /hash/misc 909s ok 2 /hash/one 909s ok 3 /hash/honeyman 909s ok 4 /hash/direct 909s ok 5 /hash/direct2 909s ok 6 /hash/int 909s ok 7 /hash/int64 909s ok 8 /hash/double 909s ok 9 /hash/string 909s ok 10 /hash/set 909s ok 11 /hash/set-ref 909s ok 12 /hash/ref 909s ok 13 /hash/remove-all 909s ok 14 /hash/recursive-remove-all 909s ok 15 /hash/find 909s ok 16 /hash/foreach 909s ok 17 /hash/foreach-steal 909s ok 18 /hash/steal-extended 909s ok 19 /hash/steal-all-keys 909s ok 20 /hash/steal-all-values 909s ok 21 /hash/lookup-extended 909s ok 22 /hash/new-similar 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 909s ok 23 /hash/lookup-null-key 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 909s ok 24 /hash/destroy-modify 909s ok 25 /hash/consistency 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 909s ok 26 /hash/iter-replace 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 909s ok 27 /hash/set-insert-corruption 909s ok 28 /hash/set-to-strv 909s ok 29 /hash/get-keys-as-ptr-array 909s ok 30 /hash/get-values-as-ptr-array 909s ok 31 /hash/primes 909s # Start of int64 tests 909s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 909s ok 32 /hash/int64/collisions 909s # End of int64 tests 909s # Start of double tests 909s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 909s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 909s ok 33 /hash/double/collisions 909s # End of double tests 909s # Start of recursive-remove-all tests 909s # End of recursive-remove-all tests 909s # Start of steal-extended tests 909s ok 34 /hash/steal-extended/optional 909s # End of steal-extended tests 909s # End of hash tests 909s ok - glib/hash.test 909s # Running test: glib/task.test 909s TAP version 14 909s # random seed: R02S50c4a8660de39135fa726ba273231aba 909s 1..36 909s # Start of gtask tests 909s ok 1 /gtask/basic 909s ok 2 /gtask/error 909s ok 3 /gtask/error-literal 909s ok 4 /gtask/error-literal-from-variable 909s ok 5 /gtask/return-from-same-iteration 909s ok 6 /gtask/return-from-toplevel 909s ok 7 /gtask/return-from-anon-thread 909s ok 8 /gtask/return-from-wrong-thread 909s ok 9 /gtask/no-callback 909s ok 10 /gtask/report-error 909s ok 11 /gtask/priority 909s ok 12 /gtask/name 909s ok 13 /gtask/static-name 909s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 910s ok 14 /gtask/asynchronous-cancellation 910s ok 15 /gtask/check-cancellable 910s ok 16 /gtask/return-if-cancelled 910s ok 17 /gtask/run-in-thread 910s ok 18 /gtask/run-in-thread-sync 910s ok 19 /gtask/run-in-thread-priority 910s ok 20 /gtask/run-in-thread-nested 910s ok 21 /gtask/run-in-thread-overflow 910s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 910s # GLib-GIO-DEBUG: GTask 0xcd387e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 910s # GLib-GIO-DEBUG: GTask 0xcd7abf8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 910s ok 22 /gtask/return-on-cancel 910s # GLib-GIO-DEBUG: GTask 0xcd38b80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 910s ok 23 /gtask/return-on-cancel-sync 910s # GLib-GIO-DEBUG: GTask 0xcd39840 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 910s ok 24 /gtask/return-on-cancel-atomic 910s ok 25 /gtask/return-pointer 910s ok 26 /gtask/return-value 910s ok 27 /gtask/return-prefixed-error 910s ok 28 /gtask/object-keepalive 910s ok 29 /gtask/legacy-error 910s ok 30 /gtask/finalize-without-return 910s # Start of name tests 910s ok 31 /gtask/name/macro-wrapper 910s # End of name tests 910s # Start of return tests 910s ok 32 /gtask/return/error-first 910s ok 33 /gtask/return/value-first 910s # Start of in-idle tests 910s ok 34 /gtask/return/in-idle/error-first 910s ok 35 /gtask/return/in-idle/value-first 910s # End of in-idle tests 910s # End of return tests 910s # Start of attach-source tests 910s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 910s ok 36 /gtask/attach-source/set-name 910s # End of attach-source tests 910s # End of gtask tests 910s ok - glib/task.test 910s # Running test: glib/accumulator.test 910s TAP version 14 910s # random seed: R02Se487763cdc1ebc3c44153b62a0afbbbc 910s 1..1 910s # Start of gobject tests 910s ok 1 /gobject/accumulator 910s # End of gobject tests 910s ok - glib/accumulator.test 910s # Running test: glib/spawn-test.test 910s TAP version 14 910s # random seed: R02S48e192faab18a1e0e74ca8d222a032ef 910s 1..2 910s # Start of spawn tests 910s ok 1 /spawn/basics 910s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 910s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 910s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 910s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 910s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 910s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 910s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 910s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 910s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 910s # Fetching GSpawn result output with stdin open, stdout open, stderr open 910s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 910s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 910s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 910s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 910s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 910s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 910s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 910s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 910s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 910s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 910s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 910s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 910s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 910s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 910s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 910s # Fetching GSpawn result with stdin open, stdout open, stderr open 910s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 910s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 910s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 910s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 910s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 910s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 910s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 910s ok 2 /spawn/stdio-overwrite 910s # End of spawn tests 910s ok - glib/spawn-test.test 910s # Running test: glib/cxx-17.test 910s TAP version 14 910s # random seed: R02S65cea37aff6c9e1d1d53020784d3afb5 910s 1..2 910s # Start of gtask tests 910s # 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. 910s ok 1 /gtask/name 910s # Start of name tests 910s # 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. 910s ok 2 /gtask/name/macro-wrapper 910s # End of name tests 910s # End of gtask tests 910s ok - glib/cxx-17.test 910s # Running test: glib/hostutils.test 910s TAP version 14 910s # random seed: R02S0c649ee1d84348eede8fa3430171685d 910s 1..3 910s # Start of hostutils tests 910s ok 1 /hostutils/to_ascii 910s ok 2 /hostutils/to_unicode 910s ok 3 /hostutils/is_ip_addr 910s # End of hostutils tests 910s ok - glib/hostutils.test 910s # Running test: glib/data-output-stream.test 910s TAP version 14 910s # random seed: R02S29fc6aad8d8b49a8972b930b2720c855 910s 1..7 910s # Start of data-output-stream tests 910s ok 1 /data-output-stream/basic 910s ok 2 /data-output-stream/write-lines-LF 910s ok 3 /data-output-stream/write-lines-CR 910s ok 4 /data-output-stream/write-lines-CR-LF 910s ok 5 /data-output-stream/write-int 910s ok 6 /data-output-stream/seek 910s ok 7 /data-output-stream/truncate 910s # End of data-output-stream tests 910s ok - glib/data-output-stream.test 910s # Running test: glib/win32-appinfo.test 910s TAP version 14 910s # random seed: R02S6a83716c0345ff0bee5bd8ed152a1b59 910s 1..5 910s # Start of appinfo tests 910s ok 1 /appinfo/utf16-strfuncs 910s ok 2 /appinfo/win32-extract-executable 910s ok 3 /appinfo/win32-rundll32-fixup 910s ok 4 /appinfo/win32-parse-filename 910s ok 5 /appinfo/win32-utf16-conversion-fail 910s # Start of subprocess tests 910s # End of subprocess tests 910s # End of appinfo tests 910s ok - glib/win32-appinfo.test 910s # Running test: glib/autoptr-girepository.test 910s TAP version 14 910s # random seed: R02Se15fa5ad273cfee294de1f8f9b876428 910s 1..24 910s # Start of autoptr tests 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/repository/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 1 /autoptr/repository 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/typelib/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 2 /autoptr/typelib 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/base-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 3 /autoptr/base-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/arg-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 4 /autoptr/arg-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callable-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 5 /autoptr/callable-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/callback-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 6 /autoptr/callback-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/constant-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 7 /autoptr/constant-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/enum-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 8 /autoptr/enum-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/field-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 9 /autoptr/field-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/flags-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 10 /autoptr/flags-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/function-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 11 /autoptr/function-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/interface-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 12 /autoptr/interface-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/object-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 13 /autoptr/object-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/property-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 14 /autoptr/property-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/registered-type-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 15 /autoptr/registered-type-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/signal-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 16 /autoptr/signal-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/struct-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 17 /autoptr/struct-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/type-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 18 /autoptr/type-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/union-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 19 /autoptr/union-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/value-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 20 /autoptr/value-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/autoptr/vfunc-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 21 /autoptr/vfunc-info 910s # End of autoptr tests 910s # Start of auto tests 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/auto/arg-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 22 /auto/arg-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/auto/type-info/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 23 /auto/type-info 910s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/home 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/cache 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/system-config2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/config 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/system-data2 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/data 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/state 910s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XWUBX2/auto/function-invoker/.dirs/runtime 910s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 910s ok 24 /auto/function-invoker 910s # End of auto tests 910s ok - glib/autoptr-girepository.test 910s # Running test: glib/bitlock.test 910s TAP version 14 910s # random seed: R02S92010451fa221c3c8d1e30daf93ec8c9 910s 1..1 910s # Start of bitlock tests 910s # Start of performance tests 910s # max perf: iterations per second 910s ok 1 /bitlock/performance/uncontended 910s # End of performance tests 910s # End of bitlock tests 910s ok - glib/bitlock.test 910s # Running test: glib/override.test 910s TAP version 14 910s # random seed: R02Scaa10ae04491f8ce179511fda1e4f71a 910s 1..1 910s # Start of gobject tests 910s # *** emitting foo on a TestA instance 910s # Expecting: TestA::foo,TestI::foo 910s # Got: TestA::foo,TestI::foo 910s # *** emitting bar on a TestA instance 910s # Expecting: TestA::bar 910s # Got: TestA::bar 910s # *** emitting baz on a TestA instance 910s # Expecting: TestA::baz 910s # Got: TestA::baz 910s # *** emitting foo on a TestB instance 910s # Expecting: TestB::foo,TestA::foo,TestI::foo 910s # Got: TestB::foo,TestA::foo,TestI::foo 910s # *** emitting bar on a TestB instance 910s # Expecting: TestB::bar,TestA::bar 910s # Got: TestB::bar,TestA::bar 910s # *** emitting baz on a TestB instance 910s # Expecting: TestB::baz,TestA::baz 910s # Got: TestB::baz,TestA::baz 910s # *** emitting foo on a TestC instance 910s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 910s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 910s # *** emitting bar on a TestC instance 910s # Expecting: TestC::bar,TestB::bar,TestA::bar 910s # Got: TestC::bar,TestB::bar,TestA::bar 910s # *** emitting baz on a TestC instance 910s # Expecting: TestC::baz,TestB::baz,TestA::baz 910s # Got: TestC::baz,TestB::baz,TestA::baz 910s ok 1 /gobject/override 910s # End of gobject tests 910s ok - glib/override.test 910s # Running test: glib/macros-c-89.test 910s TAP version 14 910s # random seed: R02Sb36d44e7168c83568780098056bf8aa4 910s 1..4 910s # Start of C tests 910s ok 1 /C/standard-89 910s # End of C tests 910s # Start of alignof tests 910s ok 2 /alignof/fallback 910s # End of alignof tests 910s # Start of assert tests 910s ok 3 /assert/static 910s # End of assert tests 910s # Start of struct tests 910s ok 4 /struct/sizeof_member 910s # End of struct tests 910s ok - glib/macros-c-89.test 910s # Running test: glib/tls-interaction.test 910s TAP version 14 910s # random seed: R02Sdcfa4083cd9061d5f74fc784d8ad78af 910s 1..42 910s # Start of tls-interaction tests 910s # Start of ask-password tests 910s # Start of invoke-with-loop tests 910s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 910s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 910s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 910s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 910s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 910s # End of invoke-with-loop tests 910s # Start of invoke-without-loop tests 910s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 910s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 910s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 910s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 910s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 910s # End of invoke-without-loop tests 910s # Start of invoke-in-loop tests 910s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 910s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 910s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 910s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 910s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 910s # End of invoke-in-loop tests 910s # Start of sync tests 910s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 910s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 910s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 910s # End of sync tests 910s # Start of async tests 910s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 910s ok 20 /tls-interaction/ask-password/async/async-implementation-success 910s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 910s # End of async tests 910s # End of ask-password tests 910s # Start of request-certificate tests 910s # Start of invoke-with-loop tests 910s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 910s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 910s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 910s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 910s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 910s # End of invoke-with-loop tests 910s # Start of invoke-without-loop tests 910s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 910s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 910s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 910s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 910s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 910s # End of invoke-without-loop tests 910s # Start of invoke-in-loop tests 910s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 910s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 910s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 910s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 910s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 910s # End of invoke-in-loop tests 910s # Start of sync tests 910s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 910s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 910s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 910s # End of sync tests 910s # Start of async tests 910s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 910s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 910s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 910s # End of async tests 910s # End of request-certificate tests 910s # End of tls-interaction tests 910s ok - glib/tls-interaction.test 910s # Running test: glib/unix-streams.test 910s TAP version 14 910s # random seed: R02S47f889464c047fc5fcd54bc61ccb1259 910s 1..9 910s # Start of unix-streams tests 910s ok 1 /unix-streams/basic 911s ok 2 /unix-streams/pipe-io-test 911s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 911s ok 3 /unix-streams/nonblocking-io-test 911s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 911s ok 4 /unix-streams/read_write 911s ok 5 /unix-streams/read_writev 911s ok 6 /unix-streams/write-wouldblock 911s ok 7 /unix-streams/writev-wouldblock 911s ok 8 /unix-streams/write-async-wouldblock 911s ok 9 /unix-streams/writev-async-wouldblock 911s # End of unix-streams tests 911s ok - glib/unix-streams.test 911s # Running test: glib/gdbus-proxy.test 911s TAP version 14 911s # random seed: R02S2940830d361a969f66cb85eb4bbae482 911s 1..5 911s # Start of gdbus tests 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/.dirs/runtime 911s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s ok 1 /gdbus/proxy 913s # slow test /gdbus/proxy executed in 1.73 secs 913s # Start of proxy tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-properties/.dirs/runtime 913s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s ok 2 /gdbus/proxy/no-properties 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/wellknown-noauto/.dirs/runtime 913s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s ok 3 /gdbus/proxy/wellknown-noauto 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/async/.dirs/runtime 913s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s # Executing: glib/gdbus-proxy.test 915s ok 4 /gdbus/proxy/async 915s # slow test /gdbus/proxy/async executed in 1.72 secs 915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/home 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/cache 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/system-config2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/config 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/system-data2 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/data 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/state 915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_EDCBX2/gdbus/proxy/no-match-rule/.dirs/runtime 915s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 915s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 917s ok 5 /gdbus/proxy/no-match-rule 917s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 917s # End of proxy tests 917s # End of gdbus tests 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 917s ok - glib/gdbus-proxy.test 917s # Running test: glib/collate.test 917s TAP version 14 917s # random seed: R02S821ffcf49fd13945d115a80d67358395 917s 1..9 917s # Start of unicode tests 917s # Start of collate tests 917s ok 1 /unicode/collate/0 917s ok 2 /unicode/collate/1 917s ok 3 /unicode/collate/2 917s # End of collate tests 917s # Start of collate-key tests 917s ok 4 /unicode/collate-key/0 917s ok 5 /unicode/collate-key/1 917s ok 6 /unicode/collate-key/2 917s # End of collate-key tests 917s # Start of collate-filename tests 917s ok 7 /unicode/collate-filename/0 917s ok 8 /unicode/collate-filename/1 917s ok 9 /unicode/collate-filename/2 917s # End of collate-filename tests 917s # End of unicode tests 917s ok - glib/collate.test 917s # Running test: glib/cxx.test 917s TAP version 14 917s # random seed: R02Sdcf57942fcef8785d316c2c6c252e23a 917s 1..2 917s # Start of gtask tests 917s # 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. 917s ok 1 /gtask/name 917s # Start of name tests 917s # 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. 917s ok 2 /gtask/name/macro-wrapper 917s # End of name tests 917s # End of gtask tests 917s ok - glib/cxx.test 917s # Running test: glib/gvariant.test 917s TAP version 14 917s # random seed: R02S4e9bb69fd417394a7b0cd4c1f270c65f 917s 1..64 917s # Start of gvariant tests 917s ok 1 /gvariant/type 917s ok 2 /gvariant/typeinfo 917s ok 3 /gvariant/string 917s ok 4 /gvariant/utf8 917s ok 5 /gvariant/containers 917s ok 6 /gvariant/format-strings 917s ok 7 /gvariant/invalid-varargs 917s ok 8 /gvariant/varargs 917s ok 9 /gvariant/valist 917s ok 10 /gvariant/builder-memory 917s ok 11 /gvariant/hashing 917s ok 12 /gvariant/byteswap 918s # Executing: glib/gvariant.test 918s ok 13 /gvariant/parser 918s # slow test /gvariant/parser executed in 1.11 secs 918s ok 14 /gvariant/parse-failures 919s ok 15 /gvariant/parse-positional 919s ok 16 /gvariant/floating 919s ok 17 /gvariant/bytestring 919s ok 18 /gvariant/lookup-value 919s ok 19 /gvariant/lookup 919s ok 20 /gvariant/compare 919s ok 21 /gvariant/equal 919s ok 22 /gvariant/fixed-array 919s ok 23 /gvariant/check-format-string 919s ok 24 /gvariant/checksum-basic 919s ok 25 /gvariant/checksum-nested 919s ok 26 /gvariant/gbytes 919s ok 27 /gvariant/print-context 919s ok 28 /gvariant/error-quark 919s ok 29 /gvariant/stack-builder-init 919s ok 30 /gvariant/stack-dict-init 919s ok 31 /gvariant/unaligned-construction 919s # Start of type tests 919s # Start of string-scan tests 919s # Start of recursion tests 919s ok 32 /gvariant/type/string-scan/recursion/tuple 919s ok 33 /gvariant/type/string-scan/recursion/array 919s # End of recursion tests 919s # End of string-scan tests 919s # End of type tests 919s # Start of serialiser tests 919s ok 34 /gvariant/serialiser/maybe 919s ok 35 /gvariant/serialiser/array 919s ok 36 /gvariant/serialiser/tuple 919s ok 37 /gvariant/serialiser/variant 919s ok 38 /gvariant/serialiser/strings 920s ok 39 /gvariant/serialiser/byteswap 920s # slow test /gvariant/serialiser/byteswap executed in 1.36 secs 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 920s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 920s ok 40 /gvariant/serialiser/children 920s # Start of fuzz tests 920s ok 41 /gvariant/serialiser/fuzz/1% 921s ok 42 /gvariant/serialiser/fuzz/5% 921s # slow test /gvariant/serialiser/fuzz/5% executed in 0.78 secs 922s ok 43 /gvariant/serialiser/fuzz/9% 922s # slow test /gvariant/serialiser/fuzz/9% executed in 0.63 secs 922s ok 44 /gvariant/serialiser/fuzz/13% 923s ok 45 /gvariant/serialiser/fuzz/17% 923s # End of fuzz tests 923s # End of serialiser tests 923s # Start of varargs tests 923s # Start of subprocess tests 923s # End of subprocess tests 923s # End of varargs tests 923s # Start of byteswap tests 923s # /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. 923s ok 46 /gvariant/byteswap/non-normal-non-aligned 923s # End of byteswap tests 923s # Start of parser tests 923s ok 47 /gvariant/parser/integer-bounds 923s ok 48 /gvariant/parser/recursion 923s # Start of recursion tests 923s ok 49 /gvariant/parser/recursion/typedecls 923s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 923s # Text form 0: @mmmu 5 923s # Text form 1: @mmmas ['hello'] 923s # Text form 2: @mmmu just just nothing 923s # Text form 3: @mmmas just just nothing 923s # Text form 4: @mmmu just nothing 923s # Text form 5: @mmmas just nothing 923s # Text form 6: @mmmu nothing 923s # Text form 7: @mmmas nothing 923s ok 50 /gvariant/parser/recursion/maybes 923s # End of recursion tests 923s # End of parser tests 923s # Start of parse tests 923s # Start of subprocess tests 923s # End of subprocess tests 923s # End of parse tests 923s # Start of normal-checking tests 923s ok 51 /gvariant/normal-checking/tuples 923s ok 52 /gvariant/normal-checking/array-offsets 923s ok 53 /gvariant/normal-checking/array-offsets2 923s ok 54 /gvariant/normal-checking/tuple-offsets 923s ok 55 /gvariant/normal-checking/tuple-offsets2 923s ok 56 /gvariant/normal-checking/tuple-offsets3 923s ok 57 /gvariant/normal-checking/tuple-offsets4 923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 923s ok 58 /gvariant/normal-checking/tuple-offsets5 923s ok 59 /gvariant/normal-checking/empty-object-path 923s # Start of array-offsets tests 923s ok 60 /gvariant/normal-checking/array-offsets/overlapped 923s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 923s # End of array-offsets tests 923s # Start of tuple-offsets tests 923s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 923s # End of tuple-offsets tests 923s # End of normal-checking tests 923s # Start of recursion-limits tests 923s ok 63 /gvariant/recursion-limits/variant-in-variant 923s ok 64 /gvariant/recursion-limits/array-in-variant 923s # End of recursion-limits tests 923s # End of gvariant tests 923s ok - glib/gvariant.test 923s # Running test: glib/private.test 923s TAP version 14 923s # random seed: R02S43723c36ea422a4033f6611ad9b26f54 923s 1..8 923s # Start of thread tests 923s ok 1 /thread/private1 923s # Executing: glib/private.test 924s ok 2 /thread/private2 924s # slow test /thread/private2 executed in 1.08 secs 924s ok 3 /thread/private3 924s ok 4 /thread/staticprivate1 924s ok 5 /thread/staticprivate2 924s ok 6 /thread/staticprivate3 925s ok 7 /thread/staticprivate4 925s # slow test /thread/staticprivate4 executed in 1.08 secs 925s ok 8 /thread/staticprivate5 925s # End of thread tests 925s ok - glib/private.test 925s # Running test: glib/protocol.test 925s TAP version 14 925s # random seed: R02S53f05491843be5add4da22eef2bdfbb8 925s 1..9 925s # Start of glib tests 925s # Start of testing tests 925s # Start of protocol tests 925s ok 1 /glib/testing/protocol/debug 925s ok 2 /glib/testing/protocol/info 925s ok 3 /glib/testing/protocol/message 925s ok 4 /glib/testing/protocol/warning 925s ok 5 /glib/testing/protocol/critical 925s ok 6 /glib/testing/protocol/error 925s ok 7 /glib/testing/protocol/gtest-message 925s ok 8 /glib/testing/protocol/test-message 925s ok 9 /glib/testing/protocol/test-error 925s # End of protocol tests 925s # End of testing tests 925s # End of glib tests 925s ok - glib/protocol.test 925s # Running test: glib/gdbus-introspection.test 925s TAP version 14 925s # random seed: R02Sff301ee51f266386132a305cbc0a858a 925s 1..4 925s # Start of gdbus tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-parser/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 1 /gdbus/introspection-parser 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-generate/.dirs/runtime 925s ok 2 /gdbus/introspection-generate 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-default-direction/.dirs/runtime 925s ok 3 /gdbus/introspection-default-direction 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7GM0W2/gdbus/introspection-extra-data/.dirs/runtime 925s ok 4 /gdbus/introspection-extra-data 925s # End of gdbus tests 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s ok - glib/gdbus-introspection.test 925s # Running test: glib/enums.test 925s TAP version 14 925s # random seed: R02S8dfc7509c7deb61553e7f27718d84617 925s 1..4 925s # Start of enum tests 925s ok 1 /enum/basic 925s ok 2 /enum/define-type 925s # End of enum tests 925s # Start of flags tests 925s ok 3 /flags/basic 925s ok 4 /flags/define-type 925s # End of flags tests 925s ok - glib/enums.test 925s # Running test: glib/mapping.test 925s TAP version 14 925s # random seed: R02Sbec75f78f9ee9eec4799947112a510e8 925s 1..3 925s # Start of mapping tests 925s # test_mapping: ok 925s ok 1 /mapping/flags 925s ok 2 /mapping/private 925s # test_child_private: child spawned 925s # Subtest: /usr/libexec/installed-tests/glib/mapping 925s # random seed: R02Sbea92b232b330b5ed0fc7a82667be1f5 925s # test_child_private: received first child signal 925s # test_child_private: received parent signal 925s # Child exited with status 0 925s # test_child_private: received second child signal 925s ok 3 /mapping/private-child 925s # End of mapping tests 925s ok - glib/mapping.test 925s # Running test: glib/portal-support-env-var.test 925s TAP version 14 925s # random seed: R02S483d0677eb25de365e399afecdc7f9f8 925s 1..1 925s # Start of portal-support tests 925s ok 1 /portal-support/env-var 925s # End of portal-support tests 925s ok - glib/portal-support-env-var.test 925s # Running test: glib/spawn-singlethread.test 925s TAP version 14 925s # random seed: R02Sa0642f7bee7908ee8ef815dc767be136 925s 1..9 925s # Start of gthread tests 925s ok 1 /gthread/spawn-single-sync 925s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 925s ok 2 /gthread/spawn-stderr-socket 925s ok 3 /gthread/spawn-single-async 925s # thread 1 925s # thread 1 925s ok 4 /gthread/spawn-single-async-with-fds 925s ok 5 /gthread/spawn-async-with-invalid-fds 925s ok 6 /gthread/spawn-script 925s ok 7 /gthread/spawn-posix-spawn 925s # Start of spawn tests 925s ok 8 /gthread/spawn/nonexistent 925s # FD map: 925s # • 5 → 15 925s # • 6 → 16 925s # • 7 → 17 925s # • 8 → 18 925s # • 9 → 19 925s # • 10 → 20 925s # • 11 → 21 925s # • 12 → 22 925s # • 13 → 23 925s # • 3 → 13 925s ok 9 /gthread/spawn/fd-assignment-clash 925s # End of spawn tests 925s # End of gthread tests 925s ok - glib/spawn-singlethread.test 925s # Running test: glib/network-monitor.test 925s TAP version 14 925s # random seed: R02S274350aa64338f14af0382167df8f628 925s 1..4 925s # Start of network-monitor tests 925s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 925s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 925s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 925s ok 1 /network-monitor/default 925s ok 2 /network-monitor/remove_default 925s ok 3 /network-monitor/add_networks 925s ok 4 /network-monitor/remove_networks 925s # End of network-monitor tests 925s ok - glib/network-monitor.test 925s # Running test: glib/unicode-normalize.test 925s TAP version 14 925s # random seed: R02Sbb7caf6ad7c53d71031f5bda6cb466e3 925s 1..3 925s # Start of unicode tests 925s # Processing Part0 # Specific cases 925s # Processing Part1 # Character by character test 925s # Processing Part2 # Canonical Order Test 925s # Processing Part3 # PRI #29 Test 925s ok 1 /unicode/normalize 925s # Invalid UTF-8 vector 0 925s # Invalid UTF-8 vector 1 925s # Invalid UTF-8 vector 2 925s # Invalid UTF-8 vector 3 925s # Invalid UTF-8 vector 4 925s # Invalid UTF-8 vector 5 925s # Invalid UTF-8 vector 6 925s # Invalid UTF-8 vector 7 925s # Invalid UTF-8 vector 8 925s # Invalid UTF-8 vector 9 925s # Invalid UTF-8 vector 10 925s # Invalid UTF-8 vector 11 925s # Invalid UTF-8 vector 12 925s ok 2 /unicode/normalize-invalid 925s # Start of normalize tests 925s ok 3 /unicode/normalize/bad-length 925s # End of normalize tests 925s # End of unicode tests 925s ok - glib/unicode-normalize.test 925s # Running test: glib/repository.test 925s TAP version 14 925s # random seed: R02Sb80b78dd9b88470efbccce23d7033d86 925s 1..23 925s # Start of repository tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/basic/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/basic/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/basic/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/basic/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/basic/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/basic/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/basic/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/basic/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/basic/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/basic/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 925s ok 1 /repository/basic 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/info/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/info/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/info/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/info/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/info/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/info/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/info/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/info/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/info/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/info/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/info summary: Test retrieving some basic info blobs from a typelib 925s ok 2 /repository/info 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/dependencies/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/dependencies/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/dependencies/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 925s ok 3 /repository/dependencies 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/arg-info/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/arg-info/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/arg-info/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 925s ok 4 /repository/arg-info 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/callable-info/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/callable-info/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/callable-info/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 925s ok 5 /repository/callable-info 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/callback-info/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/callback-info/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/callback-info/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 925s ok 6 /repository/callback-info 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/char-types/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/char-types/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/char-types/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 925s ok 7 /repository/char-types 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/constructor-return-type/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 925s ok 8 /repository/constructor-return-type 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/enum-info-c-identifier/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 925s ok 9 /repository/enum-info-c-identifier 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/enum-info-static-methods/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/enum-info-static-methods summary: Test an enum with methods 925s ok 10 /repository/enum-info-static-methods 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/error-quark/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/error-quark/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/error-quark/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/error-quark summary: Test finding an error quark by error domain 925s ok 11 /repository/error-quark 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/flags-info-c-identifier/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 925s ok 12 /repository/flags-info-c-identifier 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/fundamental-ref-func/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 925s ok 13 /repository/fundamental-ref-func 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/instance-method-ownership-transfer/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 925s ok 14 /repository/instance-method-ownership-transfer 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/object-gtype-interfaces/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 925s ok 15 /repository/object-gtype-interfaces 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/signal-info-with-array-length-arg/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 925s ok 16 /repository/signal-info-with-array-length-arg 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/type-info-name/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 925s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 925s ok 17 /repository/type-info-name 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 925s ok 18 /repository/vfunc-info-with-no-invoker 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 925s ok 19 /repository/vfunc-info-with-invoker-on-interface 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 925s ok 20 /repository/vfunc-info-with-invoker-on-object 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/find-by-gtype/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/find-by-gtype summary: Test finding a GType 925s ok 21 /repository/find-by-gtype 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/loaded-namespaces/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/loaded-namespaces summary: Test listing loaded namespaces 925s ok 22 /repository/loaded-namespaces 925s # Start of base-info tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_4MQHX2/repository/base-info/clear/.dirs/runtime 925s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 925s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 925s ok 23 /repository/base-info/clear 925s # End of base-info tests 925s # End of repository tests 925s ok - glib/repository.test 925s # Running test: glib/glistmodel.test 925s TAP version 14 925s # random seed: R02Sac263443349cfbf12c06118638beed40 925s 1..18 925s # Start of glistmodel tests 925s # Start of store tests 925s ok 1 /glistmodel/store/properties 925s ok 2 /glistmodel/store/non-gobjects 925s ok 3 /glistmodel/store/boundaries 925s ok 4 /glistmodel/store/refcounts 925s ok 5 /glistmodel/store/sorted 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 925s ok 6 /glistmodel/store/splice-replace-middle 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 925s ok 7 /glistmodel/store/splice-replace-all 925s ok 8 /glistmodel/store/splice-noop 925s ok 9 /glistmodel/store/splice-remove-multiple 925s ok 10 /glistmodel/store/splice-add-multiple 925s ok 11 /glistmodel/store/splice-wrong-type 925s ok 12 /glistmodel/store/item-type 925s ok 13 /glistmodel/store/remove-all 925s ok 14 /glistmodel/store/sort 925s ok 15 /glistmodel/store/get-item-cache 925s ok 16 /glistmodel/store/items-changed 925s ok 17 /glistmodel/store/past-end 925s ok 18 /glistmodel/store/find 925s # End of store tests 925s # End of glistmodel tests 925s ok - glib/glistmodel.test 925s # Running test: glib/list.test 925s TAP version 14 925s # random seed: R02Sec89c62fa4141e4e1c18442c695a68cd 925s 1..20 925s # Start of list tests 925s ok 1 /list/sort 925s ok 2 /list/sort-with-data 925s ok 3 /list/insert-before-link 925s ok 4 /list/insert-sorted 925s ok 5 /list/insert-sorted-with-data 925s ok 6 /list/reverse 925s ok 7 /list/nth 925s ok 8 /list/concat 925s ok 9 /list/remove 925s ok 10 /list/remove-all 925s ok 11 /list/first-last 925s ok 12 /list/insert 925s ok 13 /list/free-full 925s ok 14 /list/copy 925s ok 15 /list/copy-deep 925s ok 16 /list/delete-link 925s ok 17 /list/prepend 925s ok 18 /list/position 925s ok 19 /list/double-free 925s # Start of sort tests 925s ok 20 /list/sort/stable 925s # End of sort tests 925s # End of list tests 925s ok - glib/list.test 925s # Running test: glib/gdbus-server-auth.test 925s TAP version 14 925s # random seed: R02S3cc0a030377956d7fbb45625aecc7b33 925s 1..9 925s # Start of gdbus tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/.dirs/runtime 925s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-9DBJX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 925s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-9DBJX2/dbus-hH36m32G 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 925s ok 1 /gdbus/server-auth 925s # Start of server-auth tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/abstract/.dirs/runtime 925s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-ALEJX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 925s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-ALEJX2/dbus-4KIXI83c 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 925s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 925s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 925s ok 2 /gdbus/server-auth/abstract 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/tcp/.dirs/runtime 925s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 925s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/.dirs/runtime 925s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-7MXIX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 925s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-7MXIX2/dbus-9X3cb2m5 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 925s ok 4 /gdbus/server-auth/anonymous 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/.dirs/runtime 925s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-C7AIX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 925s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-C7AIX2/dbus-WsWTtBLA 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 925s ok 5 /gdbus/server-auth/external 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/.dirs/runtime 925s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-A6GIX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 925s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 925s # Start of anonymous tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 925s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 925s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 925s # End of anonymous tests 925s # Start of external tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 925s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-LYCIX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 925s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IGZGX2/gdbus-server-auth-LYCIX2/dbus-oyDxQTFL 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 925s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 925s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 925s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 925s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 925s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 925s ok 8 /gdbus/server-auth/external/require-same-user 925s # End of external tests 925s # Start of sha1 tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IGZGX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 925s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 925s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 925s # End of sha1 tests 925s # End of server-auth tests 925s # End of gdbus tests 925s ok - glib/gdbus-server-auth.test 925s # Running test: glib/simple-proxy.test 925s TAP version 14 925s # random seed: R02S4e6239331a2f45c0c1cea547a5c97c96 925s 1..3 925s # Start of static-proxy tests 925s ok 1 /static-proxy/uri 925s ok 2 /static-proxy/socks 925s ok 3 /static-proxy/ignore 925s # End of static-proxy tests 925s ok - glib/simple-proxy.test 925s # Running test: glib/environment.test 925s TAP version 14 925s # random seed: R02Sbc6f93c1869bf1202a882c8c2fe7ca81 925s 1..6 925s # Start of environ tests 925s # /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. 925s ok 1 /environ/listenv 925s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 925s ok 2 /environ/getenv 925s ok 3 /environ/setenv 925s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 925s ok 4 /environ/array 925s # /environ/null summary: Test getting and setting variables on a NULL envp array. 925s ok 5 /environ/null 925s # /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. 925s ok 6 /environ/case 925s # End of environ tests 925s ok - glib/environment.test 925s # Running test: glib/type-flags.test 925s TAP version 14 925s # random seed: R02S1a00065aa05b235038abf70aa14840e3 925s 1..4 925s # Start of type tests 925s # Start of flags tests 925s ok 1 /type/flags/interface 925s ok 2 /type/flags/final 925s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 925s ok 3 /type/flags/deprecated 925s # Start of final tests 925s ok 4 /type/flags/final/instance-check 925s # End of final tests 925s # End of flags tests 925s # End of type tests 925s ok - glib/type-flags.test 925s # Running test: glib/thread-pool.test 925s TAP version 14 925s # random seed: R02S3f6898bf1ad002f833c7fb2af684b94a 925s 1..5 925s # Start of thread_pool tests 925s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 925s ok 1 /thread_pool/shared 925s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 925s ok 2 /thread_pool/exclusive 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 925s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 925s ok 3 /thread_pool/create_shared_after_exclusive 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 925s ok 4 /thread_pool/create_full 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 925s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 925s ok 5 /thread_pool/create_exclusive_after_shared 925s # End of thread_pool tests 925s ok - glib/thread-pool.test 925s # Running test: glib/custom-dispatch.test 925s TAP version 14 925s # random seed: R02Se6b977353e0d2b0bee4cf1d3ee7d1a22 925s 1..2 925s # Start of properties tests 925s # Start of custom-dispatch tests 925s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 925s ok 1 /properties/custom-dispatch/init 925s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 925s ok 2 /properties/custom-dispatch/set 925s # End of custom-dispatch tests 925s # End of properties tests 925s ok - glib/custom-dispatch.test 925s # Running test: glib/gdbus-export.test 925s TAP version 14 925s # random seed: R02S831b06e75afd5a74144f0c5b49008879 925s 1..6 925s # Start of gdbus tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 1 /gdbus/object-registration 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/object-registration-with-closures/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 2 /gdbus/object-registration-with-closures 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/registered-interfaces/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 3 /gdbus/registered-interfaces 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/async-properties/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 4 /gdbus/async-properties 925s # Start of threaded-unregistration tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/object/.dirs/runtime 925s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 925s # /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 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 926s # slow test /gdbus/threaded-unregistration/object executed in 1.20 secs 926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/home 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/cache 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/config 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/data 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/state 926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_T0YJX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 926s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 926s # /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 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (3 iterations with unregistration first, 997 with call first); skipping test 928s # slow test /gdbus/threaded-unregistration/subtree executed in 1.27 secs 928s # End of threaded-unregistration tests 928s # End of gdbus tests 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok - glib/gdbus-export.test 928s # Running test: glib/markup-parse.test 928s TAP version 14 928s # random seed: R02Sb514270eb4fc5954d426a0bfabe654a6 928s 1..71 928s # Start of markup tests 928s # Start of parse tests 928s ok 1 /markup/parse/fail-1.gmarkup 928s ok 2 /markup/parse/fail-10.gmarkup 928s ok 3 /markup/parse/fail-11.gmarkup 928s ok 4 /markup/parse/fail-12.gmarkup 928s ok 5 /markup/parse/fail-13.gmarkup 928s ok 6 /markup/parse/fail-14.gmarkup 928s ok 7 /markup/parse/fail-15.gmarkup 928s ok 8 /markup/parse/fail-16.gmarkup 928s ok 9 /markup/parse/fail-17.gmarkup 928s ok 10 /markup/parse/fail-18.gmarkup 928s ok 11 /markup/parse/fail-19.gmarkup 928s ok 12 /markup/parse/fail-2.gmarkup 928s ok 13 /markup/parse/fail-20.gmarkup 928s ok 14 /markup/parse/fail-21.gmarkup 928s ok 15 /markup/parse/fail-22.gmarkup 928s ok 16 /markup/parse/fail-23.gmarkup 928s ok 17 /markup/parse/fail-24.gmarkup 928s ok 18 /markup/parse/fail-25.gmarkup 928s ok 19 /markup/parse/fail-26.gmarkup 928s ok 20 /markup/parse/fail-27.gmarkup 928s ok 21 /markup/parse/fail-28.gmarkup 928s ok 22 /markup/parse/fail-29.gmarkup 928s ok 23 /markup/parse/fail-3.gmarkup 928s ok 24 /markup/parse/fail-30.gmarkup 928s ok 25 /markup/parse/fail-31.gmarkup 928s ok 26 /markup/parse/fail-32.gmarkup 928s ok 27 /markup/parse/fail-33.gmarkup 928s ok 28 /markup/parse/fail-34.gmarkup 928s ok 29 /markup/parse/fail-35.gmarkup 928s ok 30 /markup/parse/fail-36.gmarkup 928s ok 31 /markup/parse/fail-37.gmarkup 928s ok 32 /markup/parse/fail-38.gmarkup 928s ok 33 /markup/parse/fail-39.gmarkup 928s ok 34 /markup/parse/fail-4.gmarkup 928s ok 35 /markup/parse/fail-40.gmarkup 928s ok 36 /markup/parse/fail-41.gmarkup 928s ok 37 /markup/parse/fail-42.gmarkup 928s ok 38 /markup/parse/fail-43.gmarkup 928s ok 39 /markup/parse/fail-44.gmarkup 928s ok 40 /markup/parse/fail-45.gmarkup 928s ok 41 /markup/parse/fail-46.gmarkup 928s ok 42 /markup/parse/fail-47.gmarkup 928s ok 43 /markup/parse/fail-48.gmarkup 928s ok 44 /markup/parse/fail-49.gmarkup 928s ok 45 /markup/parse/fail-5.gmarkup 928s ok 46 /markup/parse/fail-50.gmarkup 928s ok 47 /markup/parse/fail-51.gmarkup 928s ok 48 /markup/parse/fail-52.gmarkup 928s ok 49 /markup/parse/fail-53.gmarkup 928s ok 50 /markup/parse/fail-54.gmarkup 928s ok 51 /markup/parse/fail-6.gmarkup 928s ok 52 /markup/parse/fail-7.gmarkup 928s ok 53 /markup/parse/fail-8.gmarkup 928s ok 54 /markup/parse/fail-9.gmarkup 928s ok 55 /markup/parse/valid-1.gmarkup 928s ok 56 /markup/parse/valid-10.gmarkup 928s ok 57 /markup/parse/valid-11.gmarkup 928s ok 58 /markup/parse/valid-12.gmarkup 928s ok 59 /markup/parse/valid-13.gmarkup 928s ok 60 /markup/parse/valid-14.gmarkup 928s ok 61 /markup/parse/valid-15.gmarkup 928s ok 62 /markup/parse/valid-16.gmarkup 928s ok 63 /markup/parse/valid-17.gmarkup 928s ok 64 /markup/parse/valid-2.gmarkup 928s ok 65 /markup/parse/valid-3.gmarkup 928s ok 66 /markup/parse/valid-4.gmarkup 928s ok 67 /markup/parse/valid-5.gmarkup 928s ok 68 /markup/parse/valid-6.gmarkup 928s ok 69 /markup/parse/valid-7.gmarkup 928s ok 70 /markup/parse/valid-8.gmarkup 928s ok 71 /markup/parse/valid-9.gmarkup 928s # End of parse tests 928s # End of markup tests 928s ok - glib/markup-parse.test 928s # Running test: glib/debugcontroller.test 928s TAP version 14 928s # random seed: R02S108abd47d4af8f8c04fecda505a2657c 928s 1..3 928s # Start of debug-controller tests 928s # Start of dbus tests 928s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Debug output enabled 928s # GLib-GIO-DEBUG: Debug output disabled 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok 1 /debug-controller/dbus/basic 928s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok 2 /debug-controller/dbus/duplicate 928s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 928s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 928s # End of dbus tests 928s # End of debug-controller tests 928s ok - glib/debugcontroller.test 928s # Running test: glib/memory-monitor.test 928s TAP version 14 928s # random seed: R02S3f4a954662502f71f6159c90011392bb 928s 1..1 928s # Start of memory-monitor tests 928s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 928s ok 1 /memory-monitor/default 928s # End of memory-monitor tests 928s ok - glib/memory-monitor.test 928s # Running test: glib/async-splice-output-stream.test 928s TAP version 14 928s # random seed: R02S1200d2e7509af08e7181f9d5769af2ce 928s 1..5 928s # Start of async-splice tests 928s ok 1 /async-splice/copy-chunks 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 928s ok 2 /async-splice/copy-chunks-threaded-input 928s ok 3 /async-splice/copy-chunks-threaded-output 928s ok 4 /async-splice/copy-chunks-threaded 928s ok 5 /async-splice/cancelled 928s # End of async-splice tests 928s ok - glib/async-splice-output-stream.test 928s # Running test: glib/signals-refcount4.test 928s TAP version 14 928s # random seed: R02S4d078bcda6728ce01a186be7bfdd1e39 928s 1..1 928s # Start of gobject tests 928s # Start of refcount tests 928s # init 0x7038a58 928s # 928s # init 0x7038bb0 928s # 928s # Executing: glib/signals-refcount4.test 933s # dispose 0x7038a58! 933s # 933s # dispose 0x7038bb0! 933s # 933s ok 1 /gobject/refcount/signals 933s # slow test /gobject/refcount/signals executed in 5.00 secs 933s # End of refcount tests 933s # End of gobject tests 933s ok - glib/signals-refcount4.test 933s # Running test: glib/socket-listener.test 933s TAP version 14 933s # random seed: R02S460fe92699b0edff9bba6597451e1db3 933s 1..1 933s # Start of socket-listener tests 933s ok 1 /socket-listener/event-signal 933s # End of socket-listener tests 933s ok - glib/socket-listener.test 933s # Running test: glib/power-profile-monitor.test 933s TAP version 14 933s # random seed: R02S429027b607d964dc168e655894866aa8 933s 1..1 933s # Start of power-profile-monitor tests 933s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 933s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 933s ok 1 /power-profile-monitor/default 933s # End of power-profile-monitor tests 933s ok - glib/power-profile-monitor.test 933s # Running test: glib/option-argv0.test 933s TAP version 14 933s # random seed: R02S739921415020648617ffcb51257e938d 933s 1..1 933s # Start of option tests 933s ok 1 /option/argv0 933s # End of option tests 933s ok - glib/option-argv0.test 933s # Running test: glib/bytes.test 933s TAP version 14 933s # random seed: R02S6952a8c3fbac2cae35e0b8d262fcf4bf 933s 1..21 933s # Start of bytes tests 933s ok 1 /bytes/new 933s ok 2 /bytes/new-take 933s ok 3 /bytes/new-static 933s ok 4 /bytes/new-with-free-func 933s ok 5 /bytes/new-from-bytes 933s ok 6 /bytes/new-from-bytes-slice 933s ok 7 /bytes/new-from-bytes-shared-ref 933s ok 8 /bytes/hash 933s ok 9 /bytes/equal 933s ok 10 /bytes/compare 933s ok 11 /bytes/null 933s ok 12 /bytes/get-region 933s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 933s ok 13 /bytes/unref-null 933s # Start of to-data tests 933s ok 14 /bytes/to-data/transferred 933s ok 15 /bytes/to-data/two-refs 933s ok 16 /bytes/to-data/non-malloc 933s ok 17 /bytes/to-data/different-free-func 933s # End of to-data tests 933s # Start of to-array tests 933s ok 18 /bytes/to-array/transferred 933s ok 19 /bytes/to-array/two-refs 933s ok 20 /bytes/to-array/non-malloc 933s # Start of transferred tests 933s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 933s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 933s # End of transferred tests 933s # End of to-array tests 933s # End of bytes tests 933s ok - glib/bytes.test 933s # Running test: glib/gdbus-proxy-threads.test 933s TAP version 14 933s # random seed: R02S6abca936125913f37feea05a060b5b9e 933s 1..1 933s # Start of gdbus tests 933s # Start of proxy tests 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_HLJ0W2/gdbus/proxy/vs-threads/.dirs/runtime 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # Executing: glib/gdbus-proxy-threads.test 935s ok 1 /gdbus/proxy/vs-threads 935s # slow test /gdbus/proxy/vs-threads executed in 2.22 secs 935s # End of proxy tests 935s # End of gdbus tests 935s cleaning up pid 14489 935s ok - glib/gdbus-proxy-threads.test 935s # Running test: glib/gthash.test 935s TAP version 14 935s # random seed: R02S0727c5742ba5062fc3a988ae45be4b1d 935s 1..1 935s # Start of gthash tests 935s ok 1 /gthash/build-retrieve 935s # End of gthash tests 935s ok - glib/gthash.test 935s # Running test: glib/gdbus-proxy-well-known-name.test 935s TAP version 14 935s # random seed: R02Sbc0a4fb05a649146a4b120bfb1eba6ef 935s 1..1 935s # Start of gdbus tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_S5JHX2/gdbus/proxy-well-known-name/.dirs/runtime 935s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 1 /gdbus/proxy-well-known-name 935s # End of gdbus tests 935s ok - glib/gdbus-proxy-well-known-name.test 935s # Running test: glib/buffered-output-stream.test 935s TAP version 14 935s # random seed: R02Sf988511548164f48809182e3772df073 935s 1..5 935s # Start of buffered-output-stream tests 935s ok 1 /buffered-output-stream/write 935s ok 2 /buffered-output-stream/grow 935s ok 3 /buffered-output-stream/seek 935s ok 4 /buffered-output-stream/truncate 935s # End of buffered-output-stream tests 935s # Start of filter-output-stream tests 935s ok 5 /filter-output-stream/close 935s # End of filter-output-stream tests 935s ok - glib/buffered-output-stream.test 935s # Running test: glib/gdbus-subscribe.test 935s TAP version 14 935s # random seed: R02Sb1768116bd66dd8c51b2a5fcf3365c6a 935s 1..24 935s # Start of gdbus tests 935s # Start of subscribe tests 935s # Start of conn tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/simple/.dirs/runtime 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 935s # Step 0: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 1 /gdbus/subscribe/conn/simple 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 935s # Step 0: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: service 2 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: service 2 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 1 935s # Signal received from service 2 :1.2 935s # Signal received from service 2 :1.2 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Signal received from service 2 :1.2 935s # Signal received from service 2 :1.2 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/match_twice/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: (any) 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: (any) 935s # Path: (any) 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 3: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 4: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 3 /gdbus/subscribe/conn/match_twice 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 935s # Step 0: adding subscription 935s # Sender: :0.this.had.better.not.exist 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /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 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: org.gtk.Test.OwnedLater 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 3: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 5: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 6: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Step 7: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 5 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 935s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 935s # Step 0: adding subscription 935s # Sender: org.freedesktop.DBus 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # String argument 0: would I lie to you? 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Waiting for signal to reach message bus 935s # Step 3: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Signal received from message bus org.freedesktop.DBus 935s # Signal received from (unused) org.freedesktop.DBus via connection 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Immediately unsubscribing 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 935s # End of conn tests 935s # Start of proxy tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/simple/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 935s # Step 0: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 9 /gdbus/subscribe/proxy/simple 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 935s # Step 0: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: service 2 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: service 2 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: (any) 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: (any) 935s # Path: (any) 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 3: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 4: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 11 /gdbus/subscribe/proxy/match_twice 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 935s # Step 0: adding subscription 935s # Sender: :0.this.had.better.not.exist 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /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 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: org.gtk.Test.OwnedLater 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 3: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 5: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 6: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Step 7: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 5 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 935s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 935s # Step 0: adding subscription 935s # Sender: org.freedesktop.DBus 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # String argument 0: would I lie to you? 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Waiting for signal to reach message bus 935s # Step 3: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Signal received from message bus org.freedesktop.DBus 935s # Signal received from (unused) org.freedesktop.DBus via proxy 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 935s # End of proxy tests 935s # Start of parallel tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/simple/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 935s # Step 0: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 17 /gdbus/subscribe/parallel/simple 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 935s # Step 0: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: service 2 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: service 2 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 1 935s # Signal received from service 2 :1.2 935s # Signal received from service 2 :1.2 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Signal received from service 2 :1.2 935s # Signal received from service 2 :1.2 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: adding subscription 935s # Sender: (any) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: (any) 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: (any) 935s # Path: (any) 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Cannot subscribe via proxy: no bus name 935s # Waiting for AddMatch to be processed 935s # Step 3: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 4: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 4 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 935s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 19 /gdbus/subscribe/parallel/match_twice 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 935s # Step 0: adding subscription 935s # Sender: service :1.1 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 3: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 3 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 935s # Step 0: adding subscription 935s # Sender: :0.this.had.better.not.exist 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /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 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 2: adding subscription 935s # Sender: org.gtk.Test.OwnedLater 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 3: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 4: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 5: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Step 6: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Step 7: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 5 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 5 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via connection 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 7 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 935s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 935s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 935s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 935s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 935s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 935s # Step 0: adding subscription 935s # Sender: org.freedesktop.DBus 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 1: emitting signal 935s # Sender: attacker 935s # Destination: (broadcast) 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # String argument 0: would I lie to you? 935s # Waiting for signal to reach message bus 935s # Step 2: emitting signal 935s # Sender: attacker 935s # Destination: subscriber :1.0 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Waiting for signal to reach message bus 935s # Step 3: claiming bus name 935s # Name: org.gtk.Test.OwnedLater 935s # Owner: service 935s # Signal received from message bus org.freedesktop.DBus 935s # Signal received from (unused) org.freedesktop.DBus via connection 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Signal received from message bus org.freedesktop.DBus 935s # Signal received from (unused) org.freedesktop.DBus via proxy 935s # Path: /org/freedesktop/DBus 935s # Interface: org.freedesktop.DBus 935s # Member: NameOwnerChanged 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 935s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 935s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_DYHJX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 935s # subscriber is :1.0 935s # service is :1.1 935s # service 2 is :1.2 935s # attacker is :1.3 935s # Waiting for AddMatch to be processed 935s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 935s # Step 0: claiming bus name 935s # Name: org.gtk.Test.AlreadyOwned 935s # Owner: service 935s # Step 1: adding subscription 935s # Sender: org.gtk.Test.AlreadyOwned 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: (any) 935s # String argument 0: (any) 935s # Flags: 0 935s # Subscribing via connection 935s # Immediately unsubscribing 935s # Subscribing via proxy 935s # Waiting for AddMatch to be processed 935s # Step 2: emitting signal 935s # Sender: service 935s # Destination: (broadcast) 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Waiting for signal to reach message bus 935s # Signal received from service :1.1 935s # Signal received from service :1.1 via proxy 935s # Path: /org/gtk/GDBus/ExampleInterface 935s # Interface: org.gtk.GDBus.ExampleInterface 935s # Member: Foo 935s # Argument 0: (not a string) 935s # Sent in step: 2 935s # Received Finished signal from subscriber :1.0 935s # Received Finished signal from service :1.1 935s # Received Finished signal from service 2 :1.2 935s # Received Finished signal from attacker :1.3 935s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 935s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 935s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 935s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 935s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 935s # End of parallel tests 935s # End of subscribe tests 935s # End of gdbus tests 935s ok - glib/gdbus-subscribe.test 935s # Running test: glib/gdbus-non-socket.test 935s TAP version 14 935s # random seed: R02S102250feac8f03e5ad5f0c290354b525 935s 1..1 935s # Start of gdbus tests 935s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/home 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/cache 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/system-config2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/config 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/system-data2 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/data 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/state 935s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_I4BBX2/gdbus/non-socket/.dirs/runtime 935s ok 1 /gdbus/non-socket 935s # End of gdbus tests 935s ok - glib/gdbus-non-socket.test 935s # Running test: glib/fileattributematcher.test 935s TAP version 14 935s # random seed: R02S66fdbfaf62ac3407cbd494d651f4c0fb 935s 1..3 935s # Start of fileattributematcher tests 935s ok 1 /fileattributematcher/exact 935s ok 2 /fileattributematcher/equality 935s ok 3 /fileattributematcher/subtract 935s # End of fileattributematcher tests 935s ok - glib/fileattributematcher.test 935s # Running test: glib/slice.test 935s TAP version 14 935s # random seed: R02Scff98db4235e875c7b50655bb2df92c7 935s 1..3 935s # Start of slice tests 935s ok 1 /slice/copy 935s ok 2 /slice/chain 937s ok 3 /slice/allocate 937s # slow test /slice/allocate executed in 1.22 secs 937s # End of slice tests 937s ok - glib/slice.test 937s # Running test: glib/testfilemonitor.test 937s TAP version 14 937s # random seed: R02Sf539556650be5b341e946c0d55a775d5 937s 1..8 937s # Start of monitor tests 937s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 937s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 937s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 937s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s # Start of file tests 937s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 937s # End of file tests 937s # End of monitor tests 937s ok - glib/testfilemonitor.test 937s # Running test: glib/dynamictests.test 937s TAP version 14 937s # random seed: R02Sd044df3834c2a9f96c72a1a6cd05d21a 937s 1..2 937s # Start of GObject tests 937s ok 1 /GObject/threaded-dynamic-ref-unref-init 937s ok 2 /GObject/dynamic-interface-properties 937s # End of GObject tests 937s ok - glib/dynamictests.test 937s # Running test: glib/sort.test 937s TAP version 14 937s # random seed: R02S1f8d839d7f73cf3d76ba3139751e9d87 937s 1..5 937s # Start of sort tests 937s ok 1 /sort/basic 937s ok 2 /sort/zero-elements 937s ok 3 /sort/stable 937s ok 4 /sort/big 937s ok 5 /sort/deprecated 937s # End of sort tests 937s ok - glib/sort.test 937s # Running test: glib/portal-support-flatpak-full.test 937s TAP version 14 937s # random seed: R02S10bf72fabefadad04740d6ce407ceffb 937s 1..1 937s # Start of portal-support tests 937s # Start of flatpak tests 937s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/home 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/cache 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/system-config2 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/config 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/system-data2 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/data 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/state 937s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/runtime 937s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_6ZM3W2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 937s ok 1 /portal-support/flatpak/full 937s # End of flatpak tests 937s # End of portal-support tests 937s ok - glib/portal-support-flatpak-full.test 937s # Running test: glib/signals-refcount2.test 937s TAP version 14 937s # random seed: R02S4d2feb30cb410ae8322f1a91880cdfd8 937s 1..1 937s # Start of gobject tests 937s # Start of refcount tests 937s # init 0x92b0a58 937s # 937s # init 0x92b0bb0 937s # 938s # Executing: glib/signals-refcount2.test 942s # dispose 0x92b0a58! 942s # 942s # dispose 0x92b0bb0! 942s # 942s ok 1 /gobject/refcount/signals 942s # slow test /gobject/refcount/signals executed in 5.00 secs 942s # End of refcount tests 942s # End of gobject tests 942s ok - glib/signals-refcount2.test 942s # Running test: glib/markup.test 942s TAP version 14 942s # random seed: R02S54ae1d8c139d9bb58666013ff3c32582 942s 1..1 942s # Start of markup tests 942s ok 1 /markup/stack 942s # End of markup tests 942s ok - glib/markup.test 942s # Running test: glib/include.test 942s TAP version 14 942s # random seed: R02Sd8fd0c1642023190dd73ac6dd69e799a 942s 1..1 942s # Start of include tests 942s ok 1 /include/rwlock 942s # End of include tests 942s ok - glib/include.test 942s # Running test: glib/rand.test 942s TAP version 14 942s # random seed: R02S63860a6192e975bc2e51a80d65b80d29 942s 1..2 942s # Start of rand tests 942s ok 1 /rand/test-rand 942s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 942s ok 2 /rand/double-range 942s # End of rand tests 942s ok - glib/rand.test 942s # Running test: glib/g-file-info.test 942s TAP version 14 942s # random seed: R02S1015dc17587ce544be57ca1eb5f08979 942s 1..6 942s # Start of g-file-info tests 942s ok 1 /g-file-info/test_g_file_info 942s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 942s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 942s ok 2 /g-file-info/xattrs 942s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 942s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 942s ok 3 /g-file-info/set-modified-date-time-precision 942s # Start of test_g_file_info tests 942s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 942s ok 4 /g-file-info/test_g_file_info/modification-time 942s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 942s ok 5 /g-file-info/test_g_file_info/access-time 942s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 942s ok 6 /g-file-info/test_g_file_info/creation-time 942s # End of test_g_file_info tests 942s # End of g-file-info tests 942s ok - glib/g-file-info.test 942s # Running test: glib/gdbus-exit-on-close.test 942s TAP version 14 942s # random seed: R02S5d07ec8f1f4c5290b788a7a0cdd79153 942s 1..4 942s # Start of gdbus tests 942s # Start of exit-on-close tests 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/default/.dirs/runtime 942s ok 1 /gdbus/exit-on-close/default 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/true/.dirs/runtime 942s ok 2 /gdbus/exit-on-close/true 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/false/.dirs/runtime 942s ok 3 /gdbus/exit-on-close/false 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_16Q4W2/gdbus/exit-on-close/we-close/.dirs/runtime 942s ok 4 /gdbus/exit-on-close/we-close 942s # Start of default tests 942s # End of default tests 942s # Start of true tests 942s # End of true tests 942s # Start of false tests 942s # End of false tests 942s # Start of we-close tests 942s # End of we-close tests 942s # End of exit-on-close tests 942s # End of gdbus tests 942s ok - glib/gdbus-exit-on-close.test 942s # Running test: glib/macros-c-11.test 942s TAP version 14 942s # random seed: R02S1f20fea7f2c4a384de189a09b33e81da 942s 1..4 942s # Start of C tests 942s ok 1 /C/standard-11 942s # End of C tests 942s # Start of alignof tests 942s ok 2 /alignof/fallback 942s # End of alignof tests 942s # Start of assert tests 942s ok 3 /assert/static 942s # End of assert tests 942s # Start of struct tests 942s ok 4 /struct/sizeof_member 942s # End of struct tests 942s ok - glib/macros-c-11.test 942s # Running test: glib/array-test.test 942s TAP version 14 942s # random seed: R02Sb8104abc91338c3e531955833055c088 942s 1..113 942s # Start of array tests 942s ok 1 /array/ref-count 942s ok 2 /array/steal 942s ok 3 /array/clear-func 942s ok 4 /array/binary-search 942s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 942s ok 5 /array/copy-sized 942s ok 6 /array/overflow-append-vals 942s ok 7 /array/overflow-set-size 942s # Start of new tests 942s ok 8 /array/new/zero-terminated 942s ok 9 /array/new/take 942s ok 10 /array/new/take-zero-terminated 942s # Start of take tests 942s ok 11 /array/new/take/empty 942s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 942s # End of take tests 942s # End of new tests 942s # Start of set-size tests 942s ok 13 /array/set-size/non-zero-terminated-no-clear 942s ok 14 /array/set-size/non-zero-terminated-clear 942s ok 15 /array/set-size/zero-terminated-no-clear 942s ok 16 /array/set-size/zero-terminated-clear 942s # Start of sized tests 942s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 942s ok 18 /array/set-size/sized/non-zero-terminated-clear 942s ok 19 /array/set-size/sized/zero-terminated-no-clear 942s ok 20 /array/set-size/sized/zero-terminated-clear 942s # End of sized tests 942s # End of set-size tests 942s # Start of append-val tests 942s ok 21 /array/append-val/non-zero-terminated-no-clear 942s ok 22 /array/append-val/non-zero-terminated-clear 942s ok 23 /array/append-val/zero-terminated-no-clear 942s ok 24 /array/append-val/zero-terminated-clear 942s # End of append-val tests 942s # Start of prepend-val tests 942s ok 25 /array/prepend-val/non-zero-terminated-no-clear 942s ok 26 /array/prepend-val/non-zero-terminated-clear 942s ok 27 /array/prepend-val/zero-terminated-no-clear 942s ok 28 /array/prepend-val/zero-terminated-clear 942s # End of prepend-val tests 942s # Start of prepend-vals tests 942s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 942s ok 30 /array/prepend-vals/non-zero-terminated-clear 942s ok 31 /array/prepend-vals/zero-terminated-no-clear 942s ok 32 /array/prepend-vals/zero-terminated-clear 942s # End of prepend-vals tests 942s # Start of insert-vals tests 942s ok 33 /array/insert-vals/non-zero-terminated-no-clear 942s ok 34 /array/insert-vals/non-zero-terminated-clear 942s ok 35 /array/insert-vals/zero-terminated-no-clear 942s ok 36 /array/insert-vals/zero-terminated-clear 942s # End of insert-vals tests 942s # Start of remove-index tests 942s ok 37 /array/remove-index/non-zero-terminated-no-clear 942s ok 38 /array/remove-index/non-zero-terminated-clear 942s ok 39 /array/remove-index/zero-terminated-no-clear 942s ok 40 /array/remove-index/zero-terminated-clear 942s # End of remove-index tests 942s # Start of remove-index-fast tests 942s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 942s ok 42 /array/remove-index-fast/non-zero-terminated-clear 942s ok 43 /array/remove-index-fast/zero-terminated-no-clear 942s ok 44 /array/remove-index-fast/zero-terminated-clear 942s # End of remove-index-fast tests 942s # Start of remove-range tests 942s ok 45 /array/remove-range/non-zero-terminated-no-clear 942s ok 46 /array/remove-range/non-zero-terminated-clear 942s ok 47 /array/remove-range/zero-terminated-no-clear 942s ok 48 /array/remove-range/zero-terminated-clear 942s # End of remove-range tests 942s # Start of copy tests 942s ok 49 /array/copy/non-zero-terminated-no-clear 942s ok 50 /array/copy/non-zero-terminated-clear 942s ok 51 /array/copy/zero-terminated-no-clear 942s ok 52 /array/copy/zero-terminated-clear 942s # End of copy tests 942s # Start of sort tests 942s ok 53 /array/sort/non-zero-terminated-no-clear 942s ok 54 /array/sort/non-zero-terminated-clear 942s ok 55 /array/sort/zero-terminated-no-clear 942s ok 56 /array/sort/zero-terminated-clear 942s # End of sort tests 942s # Start of sort-with-data tests 942s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 942s ok 58 /array/sort-with-data/non-zero-terminated-clear 942s ok 59 /array/sort-with-data/zero-terminated-no-clear 942s ok 60 /array/sort-with-data/zero-terminated-clear 942s # End of sort-with-data tests 942s # End of array tests 942s # Start of pointerarray tests 942s ok 61 /pointerarray/add 942s ok 62 /pointerarray/insert 942s ok 63 /pointerarray/new-take 942s ok 64 /pointerarray/new-take-null-terminated 942s ok 65 /pointerarray/new-from-array 942s ok 66 /pointerarray/new-from-null-terminated-array 942s ok 67 /pointerarray/free-func 942s ok 68 /pointerarray/array_extend_and_steal 942s ok 69 /pointerarray/sort 942s ok 70 /pointerarray/sort-with-data 942s ok 71 /pointerarray/sort-values 942s ok 72 /pointerarray/sort-values-with-data 942s ok 73 /pointerarray/remove-range 942s ok 74 /pointerarray/steal 942s # Start of free tests 942s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 942s ok 75 /pointerarray/free/null-terminated 942s # End of free tests 942s # Start of new-take tests 942s ok 76 /pointerarray/new-take/empty 942s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 942s ok 78 /pointerarray/new-take/with-free-func 942s # End of new-take tests 942s # Start of new-take-null-terminated tests 942s ok 79 /pointerarray/new-take-null-terminated/empty 942s ok 80 /pointerarray/new-take-null-terminated/with-free-func 942s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 942s # End of new-take-null-terminated tests 942s # Start of new-from-array tests 942s ok 82 /pointerarray/new-from-array/empty 942s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 942s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 942s # End of new-from-array tests 942s # Start of new-from-null-terminated-array tests 942s ok 85 /pointerarray/new-from-null-terminated-array/empty 942s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 942s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 942s # End of new-from-null-terminated-array tests 942s # Start of ref-count tests 942s ok 88 /pointerarray/ref-count/not-null-terminated 942s ok 89 /pointerarray/ref-count/null-terminated 942s # End of ref-count tests 942s # Start of array_copy tests 942s # /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 942s ok 90 /pointerarray/array_copy/not-null-terminated 942s # /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 942s ok 91 /pointerarray/array_copy/null-terminated 942s # End of array_copy tests 942s # Start of array_extend tests 942s ok 92 /pointerarray/array_extend/not-null-terminated 942s ok 93 /pointerarray/array_extend/null-terminated 942s # End of array_extend tests 942s # Start of sort tests 942s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 942s ok 94 /pointerarray/sort/example 942s # End of sort tests 942s # Start of sort-with-data tests 942s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 942s ok 95 /pointerarray/sort-with-data/example 942s # End of sort-with-data tests 942s # Start of sort-values tests 942s ok 96 /pointerarray/sort-values/example 942s # End of sort-values tests 942s # Start of sort-values-with-data tests 942s ok 97 /pointerarray/sort-values-with-data/example 942s # End of sort-values-with-data tests 942s # Start of find tests 942s ok 98 /pointerarray/find/empty 942s ok 99 /pointerarray/find/non-empty 942s # End of find tests 942s # Start of steal_index tests 942s ok 100 /pointerarray/steal_index/not-null-terminated 942s ok 101 /pointerarray/steal_index/null-terminated 942s # End of steal_index tests 942s # End of pointerarray tests 942s # Start of bytearray tests 942s ok 102 /bytearray/steal 942s ok 103 /bytearray/append 942s ok 104 /bytearray/prepend 942s ok 105 /bytearray/remove 942s ok 106 /bytearray/remove-fast 942s ok 107 /bytearray/remove-range 942s ok 108 /bytearray/ref-count 942s ok 109 /bytearray/sort 942s ok 110 /bytearray/sort-with-data 942s ok 111 /bytearray/new-take 942s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 942s ok 113 /bytearray/free-to-bytes 942s # End of bytearray tests 942s ok - glib/array-test.test 942s # Running test: glib/cond.test 942s TAP version 14 942s # random seed: R02S92dc2b72bbe8dd144da46b4d4b801a04 942s 1..4 942s # Start of thread tests 942s ok 1 /thread/cond1 943s ok 2 /thread/cond2 943s # Start of cond tests 943s # Executing: glib/cond.test 944s ok 3 /thread/cond/wait-until 944s # slow test /thread/cond/wait-until executed in 1.02 secs 944s # Start of wait-until tests 944s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 945s ok 4 /thread/cond/wait-until/contended-and-interrupted 945s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 945s # End of wait-until tests 945s # End of cond tests 945s # End of thread tests 945s ok - glib/cond.test 945s # Running test: glib/markup-collect.test 945s TAP version 14 945s # random seed: R02S954342ca4da65012e834522ea9adb18b 945s 1..21 945s # Start of markup tests 945s # Start of collect tests 945s ok 1 /markup/collect/0 945s ok 2 /markup/collect/1 945s ok 3 /markup/collect/2 945s ok 4 /markup/collect/3 945s ok 5 /markup/collect/4 945s ok 6 /markup/collect/5 945s ok 7 /markup/collect/6 945s ok 8 /markup/collect/7 945s ok 9 /markup/collect/8 945s ok 10 /markup/collect/9 945s ok 11 /markup/collect/10 945s ok 12 /markup/collect/11 945s ok 13 /markup/collect/12 945s ok 14 /markup/collect/13 945s ok 15 /markup/collect/14 945s ok 16 /markup/collect/15 945s ok 17 /markup/collect/16 945s ok 18 /markup/collect/17 945s ok 19 /markup/collect/18 945s ok 20 /markup/collect/19 945s ok 21 /markup/collect/cleanup 945s # End of collect tests 945s # End of markup tests 945s ok - glib/markup-collect.test 945s # Running test: glib/overflow-fallback.test 945s TAP version 14 945s # random seed: R02S13c99ea0ef46920bac775c738d473f44 945s 1..6 945s # Start of glib tests 945s # Start of checked-math tests 945s ok 1 /glib/checked-math/guint-add 945s ok 2 /glib/checked-math/guint-mul 945s ok 3 /glib/checked-math/guint64-add 945s ok 4 /glib/checked-math/guint64-mul 945s ok 5 /glib/checked-math/gsize-add 945s ok 6 /glib/checked-math/gsize-mul 945s # End of checked-math tests 945s # End of glib tests 945s ok - glib/overflow-fallback.test 945s # Running test: glib/atomic-c-17.test 945s TAP version 14 945s # random seed: R02S239d8c97801f965f22152c900c5c07ad 945s 1..2 945s # Start of atomic tests 945s ok 1 /atomic/types 945s ok 2 /atomic/threaded 945s # End of atomic tests 945s ok - glib/atomic-c-17.test 945s # Running test: glib/vfs.test 945s TAP version 14 945s # random seed: R02S7fdbb753b022e86c524015eca7e72fd0 945s 1..3 945s # Start of gvfs tests 945s ok 1 /gvfs/local 945s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 945s ok 2 /gvfs/register-scheme 945s # Start of resource tests 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 945s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 945s ok 3 /gvfs/resource/malformed-escaping 945s # End of resource tests 945s # End of gvfs tests 945s ok - glib/vfs.test 945s # Running test: glib/signals-refcount1.test 945s TAP version 14 945s # random seed: R02S14ae34d7d5e981a0b13d1ba69fd4786a 945s 1..1 945s # Start of gobject tests 945s # Start of refcount tests 945s # init 0xf370a58 945s # 945s # init 0xf370bb0 945s # 948s # Executing: glib/signals-refcount1.test 950s # dispose 0xf370a58! 950s # 950s # dispose 0xf370bb0! 950s # 950s ok 1 /gobject/refcount/signals 950s # slow test /gobject/refcount/signals executed in 5.00 secs 950s # End of refcount tests 950s # End of gobject tests 950s ok - glib/signals-refcount1.test 950s # Running test: glib/dump.test 950s TAP version 14 950s # random seed: R02Sb180e349de974ff6202fcee92452e8fe 950s 1..4 950s # Start of dump tests 950s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/home 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/cache 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_X0E2W2/dump/empty-file/.dirs/system-config2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/config 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_X0E2W2/dump/empty-file/.dirs/system-data2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/data 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/state 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X0E2W2/dump/empty-file/.dirs/runtime 950s ok 1 /dump/empty-file 950s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/home 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/cache 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/system-config2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/config 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/system-data2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/data 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/state 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X0E2W2/dump/missing-get-type/.dirs/runtime 950s Invalid GType function: 'does_not_exist_get_type' 950s ok 2 /dump/missing-get-type 950s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/home 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/cache 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/system-config2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/config 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/system-data2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/data 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/state 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X0E2W2/dump/missing-quark/.dirs/runtime 950s Invalid error quark function: 'does_not_exist_error' 950s ok 3 /dump/missing-quark 950s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X0E2W2/dump/basic/.dirs/home 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X0E2W2/dump/basic/.dirs/cache 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X0E2W2/dump/basic/.dirs/system-config1:/tmp/test_dump_X0E2W2/dump/basic/.dirs/system-config2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X0E2W2/dump/basic/.dirs/config 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X0E2W2/dump/basic/.dirs/system-data1:/tmp/test_dump_X0E2W2/dump/basic/.dirs/system-data2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X0E2W2/dump/basic/.dirs/data 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X0E2W2/dump/basic/.dirs/state 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X0E2W2/dump/basic/.dirs/runtime 950s ok 4 /dump/basic 950s # End of dump tests 950s ok - glib/dump.test 950s # Running test: glib/gdbus-threading.test 950s TAP version 14 950s # random seed: R02Sd8f20341710a0ebb6ad6bda12ab169ae 950s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 950s ok - glib/gdbus-threading.test 950s # Running test: glib/thread-deprecated.test 950s TAP version 14 950s # random seed: R02S6cec91c710b4f3bd97823f0d43b6270e 950s 1..6 950s # Start of thread tests 950s ok 1 /thread/mutex 950s ok 2 /thread/static-rec-mutex 953s # Executing: glib/thread-deprecated.test 955s ok 3 /thread/static-private 955s # slow test /thread/static-private executed in 4.21 secs 958s # Executing: glib/thread-deprecated.test 960s ok 4 /thread/static-rw-lock 960s # slow test /thread/static-rw-lock executed in 5.00 secs 960s ok 5 /thread/once 963s # Executing: glib/thread-deprecated.test 968s # Executing: glib/thread-deprecated.test 970s ok 6 /thread/rerun-all 970s # slow test /thread/rerun-all executed in 10.02 secs 970s # End of thread tests 970s ok - glib/thread-deprecated.test 970s # Running test: glib/g-file-info-filesystem-readonly.test 970s TAP version 14 970s # random seed: R02S56701c5a8b467d0468ba16342c5a8f3b 970s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 970s 1..2 970s # Start of g-file-info-filesystem-readonly tests 970s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 970s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 970s # End of g-file-info-filesystem-readonly tests 970s ok - glib/g-file-info-filesystem-readonly.test 970s # Running test: glib/defaultvalue.test 970s TAP version 14 970s # random seed: R02Sf6b9c172b6a58dc86ed6080f92d607de 970s 1..84 970s # Start of Default Values tests 970s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 970s ok 2 /Default Values/GAppLaunchContext 970s ok 3 /Default Values/GApplicationCommandLine 970s # skipping GApplication:is-remote 970s ok 4 /Default Values/GApplication 970s ok 5 /Default Values/GBinding # SKIP mandatory construct params 970s ok 6 /Default Values/GBindingGroup 970s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 970s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 970s ok 9 /Default Values/GBytesIcon 970s ok 10 /Default Values/GCancellable 970s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 970s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 970s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 970s ok 14 /Default Values/GCredentials 970s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 970s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 970s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 970s ok 18 /Default Values/GDBusAuthObserver 970s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 970s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 970s ok 21 /Default Values/GDBusMessage 970s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 970s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 970s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 970s ok 25 /Default Values/GDBusObjectProxy 970s ok 26 /Default Values/GDBusObjectSkeleton 970s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 970s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 970s ok 29 /Default Values/GEmblem 970s ok 30 /Default Values/GEmblemedIcon 970s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 970s ok 32 /Default Values/GFileInfo 970s ok 33 /Default Values/GFileInputStream 970s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 970s ok 35 /Default Values/GFileOutputStream 970s ok 36 /Default Values/GFilenameCompleter 970s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 970s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 970s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 970s ok 40 /Default Values/GInitiallyUnowned 970s ok 41 /Default Values/GIOModule 970s ok 42 /Default Values/GListStore 970s ok 43 /Default Values/GMemoryInputStream 970s ok 44 /Default Values/GMemoryOutputStream 970s ok 45 /Default Values/GMenu 970s ok 46 /Default Values/GMenuItem 970s ok 47 /Default Values/GMountOperation 970s ok 48 /Default Values/GNativeSocketAddress 970s ok 49 /Default Values/GNetworkAddress 970s ok 50 /Default Values/GNetworkService 970s ok 51 /Default Values/GNotification 970s ok 52 /Default Values/GObject 970s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 970s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 970s # skipping GProxyAddressEnumerator:proxy-resolver 970s ok 54 /Default Values/GProxyAddressEnumerator 970s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 970s ok 56 /Default Values/GSettings # SKIP mandatory construct params 970s ok 57 /Default Values/GSignalGroup 970s ok 58 /Default Values/GSimpleAction 970s ok 59 /Default Values/GSimpleActionGroup 970s ok 60 /Default Values/GSimpleAsyncResult 970s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 970s ok 62 /Default Values/GSimplePermission 970s ok 63 /Default Values/GSimpleProxyResolver 970s # skipping GSocketClient:proxy-resolver 970s ok 64 /Default Values/GSocketClient 970s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 970s ok 66 /Default Values/GSocket # SKIP initialization failed 970s ok 67 /Default Values/GSocketListener 970s ok 68 /Default Values/GSocketService 970s ok 69 /Default Values/GSubprocess # SKIP initialization failed 970s ok 70 /Default Values/GSubprocessLauncher 970s # GLib-GIO-DEBUG: GTask 0x41aafe0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 970s ok 71 /Default Values/GTask 970s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 970s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 970s ok 74 /Default Values/GTestDBus 970s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 970s ok 76 /Default Values/GThreadedSocketService 970s ok 77 /Default Values/GTlsInteraction 970s ok 78 /Default Values/GTlsPassword 970s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 970s ok 80 /Default Values/GUnixFDList 970s ok 81 /Default Values/GVfs 970s ok 82 /Default Values/GVolumeMonitor 970s ok 83 /Default Values/GZlibCompressor 970s ok 84 /Default Values/GZlibDecompressor 970s # End of Default Values tests 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 970s ok - glib/defaultvalue.test 970s # Running test: glib/mkenums.py.test 970s TAP version 13 970s ok 1 __main__.TestMkenums.test_available_in 970s # tmpdir: /tmp/tmp2u_3rl_4 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmp2u_3rl_4/tmpq9yl04g5.h: 970s # typedef enum { 970s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 970s # } GDBusServerFlags; 970s # 970s # /tmp/tmp2u_3rl_4/tmp29nh4hc5.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2u_3rl_4/tmp29nh4hc5.template', '/tmp/tmp2u_3rl_4/tmpq9yl04g5.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmp2u_3rl_4/tmpq9yl04g5.h 970s # basename: tmpq9yl04g5.h 970s # enumeration-production 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-header 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-production 970s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 970s # valuenick: user 970s # valuenum: 4 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-tail 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 2 __main__.TestMkenums.test_comma_in_enum_value 970s # tmpdir: /tmp/tmpjggt4uio 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmpjggt4uio/tmpo2_zth6a.h: 970s # typedef enum { 970s # ENUM_VALUE_WITH_COMMA = ',', 970s # } TestCommaEnum; 970s # 970s # /tmp/tmpjggt4uio/tmp4h5prgj6.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjggt4uio/tmp4h5prgj6.template', '/tmp/tmpjggt4uio/tmpo2_zth6a.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmpjggt4uio/tmpo2_zth6a.h 970s # basename: tmpo2_zth6a.h 970s # enumeration-production 970s # EnumName: TestCommaEnum 970s # enum_name: test_comma_enum 970s # ENUMNAME: TEST_COMMA_ENUM 970s # ENUMSHORT: COMMA_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-header 970s # EnumName: TestCommaEnum 970s # enum_name: test_comma_enum 970s # ENUMNAME: TEST_COMMA_ENUM 970s # ENUMSHORT: COMMA_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-production 970s # VALUENAME: ENUM_VALUE_WITH_COMMA 970s # valuenick: comma 970s # valuenum: 44 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-tail 970s # EnumName: TestCommaEnum 970s # enum_name: test_comma_enum 970s # ENUMNAME: TEST_COMMA_ENUM 970s # ENUMSHORT: COMMA_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 3 __main__.TestMkenums.test_deprecated_in 970s # tmpdir: /tmp/tmpe8mp6bc7 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmpe8mp6bc7/tmp3a2kjvuw.h: 970s # typedef enum { 970s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 970s # } GDBusServerFlags; 970s # 970s # /tmp/tmpe8mp6bc7/tmpq3g76rm2.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe8mp6bc7/tmpq3g76rm2.template', '/tmp/tmpe8mp6bc7/tmp3a2kjvuw.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmpe8mp6bc7/tmp3a2kjvuw.h 970s # basename: tmp3a2kjvuw.h 970s # enumeration-production 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-header 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-production 970s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 970s # valuenick: user 970s # valuenum: 4 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-tail 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 4 __main__.TestMkenums.test_deprecated_in_for 970s # tmpdir: /tmp/tmpnv46hcm5 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmpnv46hcm5/tmpxd7yb8_f.h: 970s # typedef enum { 970s # 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) 970s # } GDBusServerFlags; 970s # 970s # /tmp/tmpnv46hcm5/tmpr_4umcp1.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnv46hcm5/tmpr_4umcp1.template', '/tmp/tmpnv46hcm5/tmpxd7yb8_f.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmpnv46hcm5/tmpxd7yb8_f.h 970s # basename: tmpxd7yb8_f.h 970s # enumeration-production 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-header 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-production 970s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 970s # valuenick: user 970s # valuenum: 4 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # value-tail 970s # EnumName: GDBusServerFlags 970s # enum_name: g_dbus_server_flags 970s # ENUMNAME: G_DBUS_SERVER_FLAGS 970s # ENUMSHORT: DBUS_SERVER_FLAGS 970s # ENUMPREFIX: G 970s # enumsince: 970s # type: flags 970s # Type: Flags 970s # TYPE: FLAGS 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 5 __main__.TestMkenums.test_empty_header 970s # tmpdir: /tmp/tmp4661l_bl 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmp4661l_bl/tmpzd4ksh86.h: 970s # /tmp/tmp4661l_bl/tmpvrrofc8e.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4661l_bl/tmpvrrofc8e.template', '/tmp/tmp4661l_bl/tmpzd4ksh86.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 6 __main__.TestMkenums.test_empty_template 970s # tmpdir: /tmp/tmphry5btll 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmphry5btll/tmphz6xjj35.template: 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphry5btll/tmphz6xjj35.template'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # 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. */ 970s # 970s # 970s # /* Generated data ends here */ 970s ok 7 __main__.TestMkenums.test_enum_name 970s # tmpdir: /tmp/tmplen2yukt 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmplen2yukt/tmpzig2yxxu.h: 970s # typedef enum _SomeEnumIdentifier { 970s # ENUM_VALUE 970s # } SomeEnumIdentifier; 970s # 970s # /tmp/tmplen2yukt/tmpxb63sk53.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplen2yukt/tmpxb63sk53.template', '/tmp/tmplen2yukt/tmpzig2yxxu.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmplen2yukt/tmpzig2yxxu.h 970s # basename: tmpzig2yxxu.h 970s # enumeration-production 970s # EnumName: SomeEnumIdentifier 970s # enum_name: some_enum_identifier 970s # ENUMNAME: SOME_ENUM_IDENTIFIER 970s # ENUMSHORT: ENUM_IDENTIFIER 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-header 970s # EnumName: SomeEnumIdentifier 970s # enum_name: some_enum_identifier 970s # ENUMNAME: SOME_ENUM_IDENTIFIER 970s # ENUMSHORT: ENUM_IDENTIFIER 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-production 970s # VALUENAME: ENUM_VALUE 970s # valuenick: value 970s # valuenum: 0 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-tail 970s # EnumName: SomeEnumIdentifier 970s # enum_name: some_enum_identifier 970s # ENUMNAME: SOME_ENUM_IDENTIFIER 970s # ENUMSHORT: ENUM_IDENTIFIER 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 8 __main__.TestMkenums.test_enum_private_public 970s # tmpdir: /tmp/tmp32nf8m5j 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmp32nf8m5j/tmpwbo5sajv.h: 970s # typedef enum { 970s # ENUM_VALUE_PUBLIC1, 970s # /*< private >*/ 970s # ENUM_VALUE_PRIVATE, 970s # } SomeEnumA 970s # 970s # /tmp/tmp32nf8m5j/tmpl0nyy6hv.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp32nf8m5j/tmpl0nyy6hv.template', '/tmp/tmp32nf8m5j/tmpwbo5sajv.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmp32nf8m5j/tmpwbo5sajv.h 970s # basename: tmpwbo5sajv.h 970s # enumeration-production 970s # EnumName: SomeEnumA 970s # enum_name: some_enum_a 970s # ENUMNAME: SOME_ENUM_A 970s # ENUMSHORT: ENUM_A 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-header 970s # EnumName: SomeEnumA 970s # enum_name: some_enum_a 970s # ENUMNAME: SOME_ENUM_A 970s # ENUMSHORT: ENUM_A 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-production 970s # VALUENAME: ENUM_VALUE_PUBLIC1 970s # valuenick: public1 970s # valuenum: 0 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-tail 970s # EnumName: SomeEnumA 970s # enum_name: some_enum_a 970s # ENUMNAME: SOME_ENUM_A 970s # ENUMSHORT: ENUM_A 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s # /tmp/tmp32nf8m5j/tmpq9gxsgob.h: 970s # typedef enum { 970s # /*< private >*/ 970s # ENUM_VALUE_PRIVATE, 970s # /*< public >*/ 970s # ENUM_VALUE_PUBLIC2, 970s # } SomeEnumB; 970s # 970s # /tmp/tmp32nf8m5j/tmpktl_x3r8.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp32nf8m5j/tmpktl_x3r8.template', '/tmp/tmp32nf8m5j/tmpq9gxsgob.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmp32nf8m5j/tmpq9gxsgob.h 970s # basename: tmpq9gxsgob.h 970s # enumeration-production 970s # EnumName: SomeEnumB 970s # enum_name: some_enum_b 970s # ENUMNAME: SOME_ENUM_B 970s # ENUMSHORT: ENUM_B 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-header 970s # EnumName: SomeEnumB 970s # enum_name: some_enum_b 970s # ENUMNAME: SOME_ENUM_B 970s # ENUMSHORT: ENUM_B 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-production 970s # VALUENAME: ENUM_VALUE_PUBLIC2 970s # valuenick: public2 970s # valuenum: 1 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-tail 970s # EnumName: SomeEnumB 970s # enum_name: some_enum_b 970s # ENUMNAME: SOME_ENUM_B 970s # ENUMSHORT: ENUM_B 970s # ENUMPREFIX: SOME 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 970s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 970s # tmpdir: /tmp/tmp2_ahif4y 970s # rspfile: False, mkenums: /usr/bin/glib-mkenums 970s # /tmp/tmp2_ahif4y/tmpkvd_cv_g.h: 970s # typedef enum { 970s # /*< private >*/ 970s # ENUM_VALUE_PRIVATE = 5, 970s # /*< public >*/ 970s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 970s # } TestSymbolicEnum; 970s # 970s # /tmp/tmp2_ahif4y/tmp39rrw335.template: 970s # /*** BEGIN file-header ***/ 970s # file-header 970s # /*** END file-header ***/ 970s # 970s # /*** BEGIN file-production ***/ 970s # file-production 970s # filename: @filename@ 970s # basename: @basename@ 970s # /*** END file-production ***/ 970s # 970s # /*** BEGIN enumeration-production ***/ 970s # enumeration-production 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END enumeration-production ***/ 970s # 970s # /*** BEGIN value-header ***/ 970s # value-header 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-header ***/ 970s # 970s # /*** BEGIN value-production ***/ 970s # value-production 970s # VALUENAME: @VALUENAME@ 970s # valuenick: @valuenick@ 970s # valuenum: @valuenum@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-production ***/ 970s # 970s # /*** BEGIN value-tail ***/ 970s # value-tail 970s # EnumName: @EnumName@ 970s # enum_name: @enum_name@ 970s # ENUMNAME: @ENUMNAME@ 970s # ENUMSHORT: @ENUMSHORT@ 970s # ENUMPREFIX: @ENUMPREFIX@ 970s # enumsince: @enumsince@ 970s # type: @type@ 970s # Type: @Type@ 970s # TYPE: @TYPE@ 970s # /*** END value-tail ***/ 970s # 970s # /*** BEGIN comment ***/ 970s # comment 970s # comment: @comment@ 970s # /*** END comment ***/ 970s # 970s # /*** BEGIN file-tail ***/ 970s # file-tail 970s # /*** END file-tail ***/ 970s # 970s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2_ahif4y/tmp39rrw335.template', '/tmp/tmp2_ahif4y/tmpkvd_cv_g.h'] 970s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 970s # Output: comment 970s # 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. 970s # 970s # 970s # file-header 970s # file-production 970s # filename: /tmp/tmp2_ahif4y/tmpkvd_cv_g.h 970s # basename: tmpkvd_cv_g.h 970s # enumeration-production 970s # EnumName: TestSymbolicEnum 970s # enum_name: test_symbolic_enum 970s # ENUMNAME: TEST_SYMBOLIC_ENUM 970s # ENUMSHORT: SYMBOLIC_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-header 970s # EnumName: TestSymbolicEnum 970s # enum_name: test_symbolic_enum 970s # ENUMNAME: TEST_SYMBOLIC_ENUM 970s # ENUMSHORT: SYMBOLIC_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-production 970s # VALUENAME: ENUM_VALUE_PUBLIC 970s # valuenick: public 970s # valuenum: 7 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # value-tail 970s # EnumName: TestSymbolicEnum 970s # enum_name: test_symbolic_enum 970s # ENUMNAME: TEST_SYMBOLIC_ENUM 970s # ENUMSHORT: SYMBOLIC_ENUM 970s # ENUMPREFIX: TEST 970s # enumsince: 970s # type: enum 970s # Type: Enum 970s # TYPE: ENUM 970s # file-tail 970s # 970s # comment 970s # comment: Generated data ends here 971s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 971s # tmpdir: /tmp/tmpngcgs0m9 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpngcgs0m9/tmp4gw1j2rj.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-tail ***/ 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpngcgs0m9/tmp4gw1j2rj.template'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # filename: @filename@ 971s # basename: @basename@ 971s # file-tail 971s # filename: @filename@ 971s # basename: @basename@ 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 11 __main__.TestMkenums.test_help 971s # tmpdir: /tmp/tmpo0zn5o1p 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # Running: ['/usr/bin/glib-mkenums', '--help'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 971s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 971s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 971s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 971s # [--comments COMMENT_TMPL] [--template TEMPLATE] 971s # [--output OUTPUT] [--version] 971s # [args ...] 971s # 971s # positional arguments: 971s # args One or more input files, or a single argument 971s # @rspfile_path pointing to a file that contains the 971s # actual arguments 971s # 971s # options: 971s # -h, --help show this help message and exit 971s # --identifier-prefix IDPREFIX 971s # Identifier prefix 971s # --symbol-prefix SYMPREFIX 971s # Symbol prefix 971s # --fhead FHEAD Output file header 971s # --ftail FTAIL Output file footer 971s # --fprod FPROD Put out TEXT every time a new input file is being 971s # processed. 971s # --eprod EPROD Per enum text, produced prior to value iterations 971s # --vhead VHEAD Value header, produced before iterating over enum 971s # values 971s # --vprod VPROD Value text, produced for each enum value. 971s # --vtail VTAIL Value tail, produced after iterating over enum values 971s # --comments COMMENT_TMPL 971s # Comment structure 971s # --template TEMPLATE Template file 971s # --output OUTPUT 971s # --version, -v Print version information 971s # 971s # Production text substitutions: 971s # @EnumName@ PrefixTheXEnum 971s # @enum_name@ prefix_the_xenum 971s # @ENUMNAME@ PREFIX_THE_XENUM 971s # @ENUMSHORT@ THE_XENUM 971s # @ENUMPREFIX@ PREFIX 971s # @enumsince@ the user-provided since value given 971s # @VALUENAME@ PREFIX_THE_XVALUE 971s # @valuenick@ the-xvalue 971s # @valuenum@ the integer value (limited support, Since: 2.26) 971s # @type@ either enum or flags 971s # @Type@ either Enum or Flags 971s # @TYPE@ either ENUM or FLAGS 971s # @filename@ name of current input file 971s # @basename@ base name of the current input file (Since: 2.22) 971s ok 12 __main__.TestMkenums.test_no_args 971s # tmpdir: /tmp/tmpghvlkb15 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # Running: ['/usr/bin/glib-mkenums'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # 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. */ 971s # 971s # 971s # /* Generated data ends here */ 971s ok 13 __main__.TestMkenums.test_no_headers 971s # tmpdir: /tmp/tmpl2vh5jve 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpl2vh5jve/tmpp2u5emt0.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl2vh5jve/tmpp2u5emt0.template'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 14 __main__.TestMkenums.test_no_nick 971s # tmpdir: /tmp/tmpwgmvi025 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpwgmvi025/tmpihpjkw8d.h: 971s # typedef enum { 971s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 971s # } GeglSamplerType; 971s # 971s # /tmp/tmpwgmvi025/tmpe5i_fd_x.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwgmvi025/tmpe5i_fd_x.template', '/tmp/tmpwgmvi025/tmpihpjkw8d.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpwgmvi025/tmpihpjkw8d.h 971s # basename: tmpihpjkw8d.h 971s # enumeration-production 971s # EnumName: GeglSamplerType 971s # enum_name: gegl_sampler_type 971s # ENUMNAME: GEGL_SAMPLER_TYPE 971s # ENUMSHORT: SAMPLER_TYPE 971s # ENUMPREFIX: GEGL 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: GeglSamplerType 971s # enum_name: gegl_sampler_type 971s # ENUMNAME: GEGL_SAMPLER_TYPE 971s # ENUMSHORT: SAMPLER_TYPE 971s # ENUMPREFIX: GEGL 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: GEGL_SAMPLER_NEAREST 971s # valuenick: nearest 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: GeglSamplerType 971s # enum_name: gegl_sampler_type 971s # ENUMNAME: GEGL_SAMPLER_TYPE 971s # ENUMSHORT: SAMPLER_TYPE 971s # ENUMPREFIX: GEGL 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 15 __main__.TestMkenums.test_non_utf8_encoding 971s # tmpdir: /tmp/tmp4w0ulnfn 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmp4w0ulnfn/tmpaenf0n3a.h: 971s # /* Copyright © La Peña */ 971s # typedef enum { 971s # ENUM_VALUE 971s # } SomeEnumIdentifier; 971s # 971s # /tmp/tmp4w0ulnfn/tmps52q0j4f.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4w0ulnfn/tmps52q0j4f.template', '/tmp/tmp4w0ulnfn/tmpaenf0n3a.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmp4w0ulnfn/tmpaenf0n3a.h 971s # basename: tmpaenf0n3a.h 971s # enumeration-production 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE 971s # valuenick: value 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 16 __main__.TestMkenums.test_reproducible 971s # tmpdir: /tmp/tmpksbhgw9p 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpksbhgw9p/tmpsjkw2awu.template: template 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpksbhgw9p/tmpsjkw2awu.template', '/tmp/tmpksbhgw9p/tmpb4go48dd1.h', '/tmp/tmpksbhgw9p/tmp5mkvycx02.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # 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. */ 971s # 971s # 971s # /* Generated data ends here */ 971s # /tmp/tmpksbhgw9p/tmp0vyjm1n7.template: template 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpksbhgw9p/tmp0vyjm1n7.template', '/tmp/tmpksbhgw9p/tmp5mkvycx02.h', '/tmp/tmpksbhgw9p/tmpb4go48dd1.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # 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. */ 971s # 971s # 971s # /* Generated data ends here */ 971s ok 17 __main__.TestMkenums.test_since 971s # tmpdir: /tmp/tmpnua9ergl 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpnua9ergl/tmpt9ud35gz.h: 971s # typedef enum { /*< since=1.0 >*/ 971s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 971s # } QmiWmsMessageProtocol; 971s # 971s # /tmp/tmpnua9ergl/tmp8utz_0jl.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnua9ergl/tmp8utz_0jl.template', '/tmp/tmpnua9ergl/tmpt9ud35gz.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpnua9ergl/tmpt9ud35gz.h 971s # basename: tmpt9ud35gz.h 971s # enumeration-production 971s # EnumName: QmiWmsMessageProtocol 971s # enum_name: qmi_wms_message_protocol 971s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 971s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 971s # ENUMPREFIX: QMI 971s # enumsince: 1.0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: QmiWmsMessageProtocol 971s # enum_name: qmi_wms_message_protocol 971s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 971s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 971s # ENUMPREFIX: QMI 971s # enumsince: 1.0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 971s # valuenick: cdma 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: QmiWmsMessageProtocol 971s # enum_name: qmi_wms_message_protocol 971s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 971s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 971s # ENUMPREFIX: QMI 971s # enumsince: 1.0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 18 __main__.TestMkenums.test_with_double_quotes 971s # tmpdir: /tmp/tmp31dnegzo 971s # rspfile: False, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmp31dnegzo/tmpgv9cy1xl.h: 971s # typedef enum { 971s # FOO_VALUE /*< nick="eek, a comma" >*/ 971s # } Foo; 971s # 971s # /tmp/tmp31dnegzo/tmpb0tv1gg9.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp31dnegzo/tmpb0tv1gg9.template', '/tmp/tmp31dnegzo/tmpgv9cy1xl.h'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmp31dnegzo/tmpgv9cy1xl.h 971s # basename: tmpgv9cy1xl.h 971s # enumeration-production 971s # EnumName: Foo 971s # enum_name: foo_ 971s # ENUMNAME: FOO_ 971s # ENUMSHORT: 971s # ENUMPREFIX: FOO 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: Foo 971s # enum_name: foo_ 971s # ENUMNAME: FOO_ 971s # ENUMSHORT: 971s # ENUMPREFIX: FOO 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: FOO_VALUE 971s # valuenick: eek, a comma 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: Foo 971s # enum_name: foo_ 971s # ENUMNAME: FOO_ 971s # ENUMSHORT: 971s # ENUMPREFIX: FOO 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 19 __main__.TestRspMkenums.test_available_in 971s # tmpdir: /tmp/tmpl71t1r4s 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpl71t1r4s/tmpimlkivr5.h: 971s # typedef enum { 971s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 971s # } GDBusServerFlags; 971s # 971s # /tmp/tmpl71t1r4s/tmpz329rulv.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpl71t1r4s/tmpz329rulv.template /tmp/tmpl71t1r4s/tmpimlkivr5.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl71t1r4s/tmphm12qvw0'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpl71t1r4s/tmpimlkivr5.h 971s # basename: tmpimlkivr5.h 971s # enumeration-production 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-header 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-production 971s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 971s # valuenick: user 971s # valuenum: 4 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-tail 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 971s # tmpdir: /tmp/tmpz37khyka 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpz37khyka/tmpqzn_4r83.h: 971s # typedef enum { 971s # ENUM_VALUE_WITH_COMMA = ',', 971s # } TestCommaEnum; 971s # 971s # /tmp/tmpz37khyka/tmpbp99j5ba.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpz37khyka/tmpbp99j5ba.template /tmp/tmpz37khyka/tmpqzn_4r83.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz37khyka/tmp5y68qbvy'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpz37khyka/tmpqzn_4r83.h 971s # basename: tmpqzn_4r83.h 971s # enumeration-production 971s # EnumName: TestCommaEnum 971s # enum_name: test_comma_enum 971s # ENUMNAME: TEST_COMMA_ENUM 971s # ENUMSHORT: COMMA_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: TestCommaEnum 971s # enum_name: test_comma_enum 971s # ENUMNAME: TEST_COMMA_ENUM 971s # ENUMSHORT: COMMA_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE_WITH_COMMA 971s # valuenick: comma 971s # valuenum: 44 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: TestCommaEnum 971s # enum_name: test_comma_enum 971s # ENUMNAME: TEST_COMMA_ENUM 971s # ENUMSHORT: COMMA_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 21 __main__.TestRspMkenums.test_deprecated_in 971s # tmpdir: /tmp/tmp7bwoerur 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmp7bwoerur/tmp37_z2ezg.h: 971s # typedef enum { 971s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 971s # } GDBusServerFlags; 971s # 971s # /tmp/tmp7bwoerur/tmpl9m268j5.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmp7bwoerur/tmpl9m268j5.template /tmp/tmp7bwoerur/tmp37_z2ezg.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7bwoerur/tmpi2c03p0w'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmp7bwoerur/tmp37_z2ezg.h 971s # basename: tmp37_z2ezg.h 971s # enumeration-production 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-header 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-production 971s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 971s # valuenick: user 971s # valuenum: 4 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-tail 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 971s # tmpdir: /tmp/tmpywyi0uqt 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpywyi0uqt/tmpx3w9q96z.h: 971s # typedef enum { 971s # 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) 971s # } GDBusServerFlags; 971s # 971s # /tmp/tmpywyi0uqt/tmpoqes_q9f.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpywyi0uqt/tmpoqes_q9f.template /tmp/tmpywyi0uqt/tmpx3w9q96z.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpywyi0uqt/tmpil76xm9a'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpywyi0uqt/tmpx3w9q96z.h 971s # basename: tmpx3w9q96z.h 971s # enumeration-production 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-header 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-production 971s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 971s # valuenick: user 971s # valuenum: 4 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # value-tail 971s # EnumName: GDBusServerFlags 971s # enum_name: g_dbus_server_flags 971s # ENUMNAME: G_DBUS_SERVER_FLAGS 971s # ENUMSHORT: DBUS_SERVER_FLAGS 971s # ENUMPREFIX: G 971s # enumsince: 971s # type: flags 971s # Type: Flags 971s # TYPE: FLAGS 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 23 __main__.TestRspMkenums.test_empty_header 971s # tmpdir: /tmp/tmpbogh24i0 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpbogh24i0/tmplkmoywfe.h: 971s # /tmp/tmpbogh24i0/tmpt1_1yd4l.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpbogh24i0/tmpt1_1yd4l.template /tmp/tmpbogh24i0/tmplkmoywfe.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbogh24i0/tmpc6hp9ug5'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 24 __main__.TestRspMkenums.test_empty_template 971s # tmpdir: /tmp/tmpq2l79qnd 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpq2l79qnd/tmpe4p2js7g.template: 971s # Response file contains: --template /tmp/tmpq2l79qnd/tmpe4p2js7g.template 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq2l79qnd/tmp_dx__d3p'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # 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. */ 971s # 971s # 971s # /* Generated data ends here */ 971s ok 25 __main__.TestRspMkenums.test_enum_name 971s # tmpdir: /tmp/tmp49af6b0f 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmp49af6b0f/tmpvqnd54wv.h: 971s # typedef enum _SomeEnumIdentifier { 971s # ENUM_VALUE 971s # } SomeEnumIdentifier; 971s # 971s # /tmp/tmp49af6b0f/tmpv2sff7zk.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmp49af6b0f/tmpv2sff7zk.template /tmp/tmp49af6b0f/tmpvqnd54wv.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp49af6b0f/tmp2advx4kb'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmp49af6b0f/tmpvqnd54wv.h 971s # basename: tmpvqnd54wv.h 971s # enumeration-production 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE 971s # valuenick: value 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: SomeEnumIdentifier 971s # enum_name: some_enum_identifier 971s # ENUMNAME: SOME_ENUM_IDENTIFIER 971s # ENUMSHORT: ENUM_IDENTIFIER 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 26 __main__.TestRspMkenums.test_enum_private_public 971s # tmpdir: /tmp/tmpq3rqh34_ 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpq3rqh34_/tmp3bppckyf.h: 971s # typedef enum { 971s # ENUM_VALUE_PUBLIC1, 971s # /*< private >*/ 971s # ENUM_VALUE_PRIVATE, 971s # } SomeEnumA 971s # 971s # /tmp/tmpq3rqh34_/tmpnaewy1j2.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpq3rqh34_/tmpnaewy1j2.template /tmp/tmpq3rqh34_/tmp3bppckyf.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq3rqh34_/tmpajuh5x0w'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpq3rqh34_/tmp3bppckyf.h 971s # basename: tmp3bppckyf.h 971s # enumeration-production 971s # EnumName: SomeEnumA 971s # enum_name: some_enum_a 971s # ENUMNAME: SOME_ENUM_A 971s # ENUMSHORT: ENUM_A 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: SomeEnumA 971s # enum_name: some_enum_a 971s # ENUMNAME: SOME_ENUM_A 971s # ENUMSHORT: ENUM_A 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE_PUBLIC1 971s # valuenick: public1 971s # valuenum: 0 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: SomeEnumA 971s # enum_name: some_enum_a 971s # ENUMNAME: SOME_ENUM_A 971s # ENUMSHORT: ENUM_A 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s # /tmp/tmpq3rqh34_/tmp6vkpkuqr.h: 971s # typedef enum { 971s # /*< private >*/ 971s # ENUM_VALUE_PRIVATE, 971s # /*< public >*/ 971s # ENUM_VALUE_PUBLIC2, 971s # } SomeEnumB; 971s # 971s # /tmp/tmpq3rqh34_/tmpc3cac2k5.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmpq3rqh34_/tmpc3cac2k5.template /tmp/tmpq3rqh34_/tmp6vkpkuqr.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq3rqh34_/tmpfmh1m9zk'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmpq3rqh34_/tmp6vkpkuqr.h 971s # basename: tmp6vkpkuqr.h 971s # enumeration-production 971s # EnumName: SomeEnumB 971s # enum_name: some_enum_b 971s # ENUMNAME: SOME_ENUM_B 971s # ENUMSHORT: ENUM_B 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: SomeEnumB 971s # enum_name: some_enum_b 971s # ENUMNAME: SOME_ENUM_B 971s # ENUMSHORT: ENUM_B 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE_PUBLIC2 971s # valuenick: public2 971s # valuenum: 1 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: SomeEnumB 971s # enum_name: some_enum_b 971s # ENUMNAME: SOME_ENUM_B 971s # ENUMSHORT: ENUM_B 971s # ENUMPREFIX: SOME 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 971s # tmpdir: /tmp/tmph_c8h9w_ 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmph_c8h9w_/tmpni5axylr.h: 971s # typedef enum { 971s # /*< private >*/ 971s # ENUM_VALUE_PRIVATE = 5, 971s # /*< public >*/ 971s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 971s # } TestSymbolicEnum; 971s # 971s # /tmp/tmph_c8h9w_/tmpsnflhj3x.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN file-production ***/ 971s # file-production 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-production ***/ 971s # 971s # /*** BEGIN enumeration-production ***/ 971s # enumeration-production 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END enumeration-production ***/ 971s # 971s # /*** BEGIN value-header ***/ 971s # value-header 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-header ***/ 971s # 971s # /*** BEGIN value-production ***/ 971s # value-production 971s # VALUENAME: @VALUENAME@ 971s # valuenick: @valuenick@ 971s # valuenum: @valuenum@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-production ***/ 971s # 971s # /*** BEGIN value-tail ***/ 971s # value-tail 971s # EnumName: @EnumName@ 971s # enum_name: @enum_name@ 971s # ENUMNAME: @ENUMNAME@ 971s # ENUMSHORT: @ENUMSHORT@ 971s # ENUMPREFIX: @ENUMPREFIX@ 971s # enumsince: @enumsince@ 971s # type: @type@ 971s # Type: @Type@ 971s # TYPE: @TYPE@ 971s # /*** END value-tail ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # /*** END file-tail ***/ 971s # 971s # Response file contains: --template /tmp/tmph_c8h9w_/tmpsnflhj3x.template /tmp/tmph_c8h9w_/tmpni5axylr.h 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph_c8h9w_/tmp6xb5ca8m'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # file-production 971s # filename: /tmp/tmph_c8h9w_/tmpni5axylr.h 971s # basename: tmpni5axylr.h 971s # enumeration-production 971s # EnumName: TestSymbolicEnum 971s # enum_name: test_symbolic_enum 971s # ENUMNAME: TEST_SYMBOLIC_ENUM 971s # ENUMSHORT: SYMBOLIC_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-header 971s # EnumName: TestSymbolicEnum 971s # enum_name: test_symbolic_enum 971s # ENUMNAME: TEST_SYMBOLIC_ENUM 971s # ENUMSHORT: SYMBOLIC_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-production 971s # VALUENAME: ENUM_VALUE_PUBLIC 971s # valuenick: public 971s # valuenum: 7 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # value-tail 971s # EnumName: TestSymbolicEnum 971s # enum_name: test_symbolic_enum 971s # ENUMNAME: TEST_SYMBOLIC_ENUM 971s # ENUMSHORT: SYMBOLIC_ENUM 971s # ENUMPREFIX: TEST 971s # enumsince: 971s # type: enum 971s # Type: Enum 971s # TYPE: ENUM 971s # file-tail 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 971s # tmpdir: /tmp/tmpkczbz3cq 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # /tmp/tmpkczbz3cq/tmp9c5xvoml.template: 971s # /*** BEGIN file-header ***/ 971s # file-header 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-header ***/ 971s # 971s # /*** BEGIN comment ***/ 971s # comment 971s # comment: @comment@ 971s # /*** END comment ***/ 971s # 971s # /*** BEGIN file-tail ***/ 971s # file-tail 971s # filename: @filename@ 971s # basename: @basename@ 971s # /*** END file-tail ***/ 971s # Response file contains: --template /tmp/tmpkczbz3cq/tmp9c5xvoml.template 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkczbz3cq/tmp2pwdt239'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: comment 971s # 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. 971s # 971s # 971s # file-header 971s # filename: @filename@ 971s # basename: @basename@ 971s # file-tail 971s # filename: @filename@ 971s # basename: @basename@ 971s # 971s # comment 971s # comment: Generated data ends here 971s ok 29 __main__.TestRspMkenums.test_help 971s # tmpdir: /tmp/tmp3hdkq4mi 971s # rspfile: True, mkenums: /usr/bin/glib-mkenums 971s # Response file contains: --help 971s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3hdkq4mi/tmpwrv1ghjk'] 971s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 971s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 971s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 971s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 971s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 971s # [--comments COMMENT_TMPL] [--template TEMPLATE] 971s # [--output OUTPUT] [--version] 971s # [args ...] 971s # 971s # positional arguments: 971s # args One or more input files, or a single argument 971s # @rspfile_path pointing to a file that contains the 971s # actual arguments 971s # 971s # options: 971s # -h, --help show this help message and exit 971s # --identifier-prefix IDPREFIX 971s # Identifier prefix 971s # --symbol-prefix SYMPREFIX 971s # Symbol prefix 971s # --fhead FHEAD Output file header 971s # --ftail FTAIL Output file footer 971s # --fprod FPROD Put out TEXT every time a new input file is being 971s # processed. 971s # --eprod EPROD Per enum text, produced prior to value iterations 971s # --vhead VHEAD Value header, produced before iterating over enum 971s # values 971s # --vprod VPROD Value text, produced for each enum value. 971s # --vtail VTAIL Value tail, produced after iterating over enum values 971s # --comments COMMENT_TMPL 971s # Comment structure 971s # --template TEMPLATE Template file 971s # --output OUTPUT 971s # --version, -v Print version information 971s # 971s # Production text substitutions: 971s # @EnumName@ PrefixTheXEnum 971s # @enum_name@ prefix_the_xenum 971s # @ENUMNAME@ PREFIX_THE_XENUM 971s # @ENUMSHORT@ THE_XENUM 971s # @ENUMPREFIX@ PREFIX 971s # @enumsince@ the user-provided since value given 971s # @VALUENAME@ PREFIX_THE_XVALUE 971s # @valuenick@ the-xvalue 971s # @valuenum@ the integer value (limited support, Since: 2.26) 971s # @type@ either enum or flags 971s # @Type@ either Enum or Flags 971s # @TYPE@ either ENUM or FLAGS 971s # @filename@ name of current input file 971s # @basename@ base name of the current input file (Since: 2.22) 972s ok 30 __main__.TestRspMkenums.test_no_args 972s # tmpdir: /tmp/tmpx7x574fd 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # Response file contains: 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx7x574fd/tmpi6hoz3gs'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # 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. */ 972s # 972s # 972s # /* Generated data ends here */ 972s ok 31 __main__.TestRspMkenums.test_no_headers 972s # tmpdir: /tmp/tmpty6jnlvy 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmpty6jnlvy/tmpy00h7bak.template: 972s # /*** BEGIN file-header ***/ 972s # file-header 972s # /*** END file-header ***/ 972s # 972s # /*** BEGIN file-production ***/ 972s # file-production 972s # filename: @filename@ 972s # basename: @basename@ 972s # /*** END file-production ***/ 972s # 972s # /*** BEGIN enumeration-production ***/ 972s # enumeration-production 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END enumeration-production ***/ 972s # 972s # /*** BEGIN value-header ***/ 972s # value-header 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-header ***/ 972s # 972s # /*** BEGIN value-production ***/ 972s # value-production 972s # VALUENAME: @VALUENAME@ 972s # valuenick: @valuenick@ 972s # valuenum: @valuenum@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-production ***/ 972s # 972s # /*** BEGIN value-tail ***/ 972s # value-tail 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-tail ***/ 972s # 972s # /*** BEGIN comment ***/ 972s # comment 972s # comment: @comment@ 972s # /*** END comment ***/ 972s # 972s # /*** BEGIN file-tail ***/ 972s # file-tail 972s # /*** END file-tail ***/ 972s # 972s # Response file contains: --template /tmp/tmpty6jnlvy/tmpy00h7bak.template 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpty6jnlvy/tmphoyifsik'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # Output: comment 972s # 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. 972s # 972s # 972s # file-header 972s # file-tail 972s # 972s # comment 972s # comment: Generated data ends here 972s ok 32 __main__.TestRspMkenums.test_no_nick 972s # tmpdir: /tmp/tmp4okfra3n 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmp4okfra3n/tmpe48efunp.h: 972s # typedef enum { 972s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 972s # } GeglSamplerType; 972s # 972s # /tmp/tmp4okfra3n/tmprxt09z8v.template: 972s # /*** BEGIN file-header ***/ 972s # file-header 972s # /*** END file-header ***/ 972s # 972s # /*** BEGIN file-production ***/ 972s # file-production 972s # filename: @filename@ 972s # basename: @basename@ 972s # /*** END file-production ***/ 972s # 972s # /*** BEGIN enumeration-production ***/ 972s # enumeration-production 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END enumeration-production ***/ 972s # 972s # /*** BEGIN value-header ***/ 972s # value-header 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-header ***/ 972s # 972s # /*** BEGIN value-production ***/ 972s # value-production 972s # VALUENAME: @VALUENAME@ 972s # valuenick: @valuenick@ 972s # valuenum: @valuenum@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-production ***/ 972s # 972s # /*** BEGIN value-tail ***/ 972s # value-tail 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-tail ***/ 972s # 972s # /*** BEGIN comment ***/ 972s # comment 972s # comment: @comment@ 972s # /*** END comment ***/ 972s # 972s # /*** BEGIN file-tail ***/ 972s # file-tail 972s # /*** END file-tail ***/ 972s # 972s # Response file contains: --template /tmp/tmp4okfra3n/tmprxt09z8v.template /tmp/tmp4okfra3n/tmpe48efunp.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4okfra3n/tmps1fa34js'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # Output: comment 972s # 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. 972s # 972s # 972s # file-header 972s # file-production 972s # filename: /tmp/tmp4okfra3n/tmpe48efunp.h 972s # basename: tmpe48efunp.h 972s # enumeration-production 972s # EnumName: GeglSamplerType 972s # enum_name: gegl_sampler_type 972s # ENUMNAME: GEGL_SAMPLER_TYPE 972s # ENUMSHORT: SAMPLER_TYPE 972s # ENUMPREFIX: GEGL 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-header 972s # EnumName: GeglSamplerType 972s # enum_name: gegl_sampler_type 972s # ENUMNAME: GEGL_SAMPLER_TYPE 972s # ENUMSHORT: SAMPLER_TYPE 972s # ENUMPREFIX: GEGL 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-production 972s # VALUENAME: GEGL_SAMPLER_NEAREST 972s # valuenick: nearest 972s # valuenum: 0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-tail 972s # EnumName: GeglSamplerType 972s # enum_name: gegl_sampler_type 972s # ENUMNAME: GEGL_SAMPLER_TYPE 972s # ENUMSHORT: SAMPLER_TYPE 972s # ENUMPREFIX: GEGL 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # file-tail 972s # 972s # comment 972s # comment: Generated data ends here 972s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 972s # tmpdir: /tmp/tmpbv4830bo 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmpbv4830bo/tmpjrk28npk.h: 972s # /* Copyright © La Peña */ 972s # typedef enum { 972s # ENUM_VALUE 972s # } SomeEnumIdentifier; 972s # 972s # /tmp/tmpbv4830bo/tmpkochw8n7.template: 972s # /*** BEGIN file-header ***/ 972s # file-header 972s # /*** END file-header ***/ 972s # 972s # /*** BEGIN file-production ***/ 972s # file-production 972s # filename: @filename@ 972s # basename: @basename@ 972s # /*** END file-production ***/ 972s # 972s # /*** BEGIN enumeration-production ***/ 972s # enumeration-production 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END enumeration-production ***/ 972s # 972s # /*** BEGIN value-header ***/ 972s # value-header 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-header ***/ 972s # 972s # /*** BEGIN value-production ***/ 972s # value-production 972s # VALUENAME: @VALUENAME@ 972s # valuenick: @valuenick@ 972s # valuenum: @valuenum@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-production ***/ 972s # 972s # /*** BEGIN value-tail ***/ 972s # value-tail 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-tail ***/ 972s # 972s # /*** BEGIN comment ***/ 972s # comment 972s # comment: @comment@ 972s # /*** END comment ***/ 972s # 972s # /*** BEGIN file-tail ***/ 972s # file-tail 972s # /*** END file-tail ***/ 972s # 972s # Response file contains: --template /tmp/tmpbv4830bo/tmpkochw8n7.template /tmp/tmpbv4830bo/tmpjrk28npk.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbv4830bo/tmprkz6shvu'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # Output: comment 972s # 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. 972s # 972s # 972s # file-header 972s # file-production 972s # filename: /tmp/tmpbv4830bo/tmpjrk28npk.h 972s # basename: tmpjrk28npk.h 972s # enumeration-production 972s # EnumName: SomeEnumIdentifier 972s # enum_name: some_enum_identifier 972s # ENUMNAME: SOME_ENUM_IDENTIFIER 972s # ENUMSHORT: ENUM_IDENTIFIER 972s # ENUMPREFIX: SOME 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-header 972s # EnumName: SomeEnumIdentifier 972s # enum_name: some_enum_identifier 972s # ENUMNAME: SOME_ENUM_IDENTIFIER 972s # ENUMSHORT: ENUM_IDENTIFIER 972s # ENUMPREFIX: SOME 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-production 972s # VALUENAME: ENUM_VALUE 972s # valuenick: value 972s # valuenum: 0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-tail 972s # EnumName: SomeEnumIdentifier 972s # enum_name: some_enum_identifier 972s # ENUMNAME: SOME_ENUM_IDENTIFIER 972s # ENUMSHORT: ENUM_IDENTIFIER 972s # ENUMPREFIX: SOME 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # file-tail 972s # 972s # comment 972s # comment: Generated data ends here 972s ok 34 __main__.TestRspMkenums.test_reproducible 972s # tmpdir: /tmp/tmpqdwhxrgo 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmpqdwhxrgo/tmps8n14lj9.template: template 972s # Response file contains: --template /tmp/tmpqdwhxrgo/tmps8n14lj9.template /tmp/tmpqdwhxrgo/tmpqd2r_ovn1.h /tmp/tmpqdwhxrgo/tmph32yks7x2.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqdwhxrgo/tmpejvl_ooh'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # 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. */ 972s # 972s # 972s # /* Generated data ends here */ 972s # /tmp/tmpqdwhxrgo/tmp2iew8wda.template: template 972s # Response file contains: --template /tmp/tmpqdwhxrgo/tmp2iew8wda.template /tmp/tmpqdwhxrgo/tmph32yks7x2.h /tmp/tmpqdwhxrgo/tmpqd2r_ovn1.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqdwhxrgo/tmpur32ccsj'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # 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. */ 972s # 972s # 972s # /* Generated data ends here */ 972s ok 35 __main__.TestRspMkenums.test_since 972s # tmpdir: /tmp/tmp524bw9wi 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmp524bw9wi/tmpyiw5cbhn.h: 972s # typedef enum { /*< since=1.0 >*/ 972s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 972s # } QmiWmsMessageProtocol; 972s # 972s # /tmp/tmp524bw9wi/tmp7hp6t5xb.template: 972s # /*** BEGIN file-header ***/ 972s # file-header 972s # /*** END file-header ***/ 972s # 972s # /*** BEGIN file-production ***/ 972s # file-production 972s # filename: @filename@ 972s # basename: @basename@ 972s # /*** END file-production ***/ 972s # 972s # /*** BEGIN enumeration-production ***/ 972s # enumeration-production 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END enumeration-production ***/ 972s # 972s # /*** BEGIN value-header ***/ 972s # value-header 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-header ***/ 972s # 972s # /*** BEGIN value-production ***/ 972s # value-production 972s # VALUENAME: @VALUENAME@ 972s # valuenick: @valuenick@ 972s # valuenum: @valuenum@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-production ***/ 972s # 972s # /*** BEGIN value-tail ***/ 972s # value-tail 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-tail ***/ 972s # 972s # /*** BEGIN comment ***/ 972s # comment 972s # comment: @comment@ 972s # /*** END comment ***/ 972s # 972s # /*** BEGIN file-tail ***/ 972s # file-tail 972s # /*** END file-tail ***/ 972s # 972s # Response file contains: --template /tmp/tmp524bw9wi/tmp7hp6t5xb.template /tmp/tmp524bw9wi/tmpyiw5cbhn.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp524bw9wi/tmpg7jgv0_7'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # Output: comment 972s # 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. 972s # 972s # 972s # file-header 972s # file-production 972s # filename: /tmp/tmp524bw9wi/tmpyiw5cbhn.h 972s # basename: tmpyiw5cbhn.h 972s # enumeration-production 972s # EnumName: QmiWmsMessageProtocol 972s # enum_name: qmi_wms_message_protocol 972s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 972s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 972s # ENUMPREFIX: QMI 972s # enumsince: 1.0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-header 972s # EnumName: QmiWmsMessageProtocol 972s # enum_name: qmi_wms_message_protocol 972s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 972s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 972s # ENUMPREFIX: QMI 972s # enumsince: 1.0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-production 972s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 972s # valuenick: cdma 972s # valuenum: 0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-tail 972s # EnumName: QmiWmsMessageProtocol 972s # enum_name: qmi_wms_message_protocol 972s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 972s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 972s # ENUMPREFIX: QMI 972s # enumsince: 1.0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # file-tail 972s # 972s # comment 972s # comment: Generated data ends here 972s ok 36 __main__.TestRspMkenums.test_with_double_quotes 972s # tmpdir: /tmp/tmpj65x4pwb 972s # rspfile: True, mkenums: /usr/bin/glib-mkenums 972s # /tmp/tmpj65x4pwb/tmpbkv3wefv.h: 972s # typedef enum { 972s # FOO_VALUE /*< nick="eek, a comma" >*/ 972s # } Foo; 972s # 972s # /tmp/tmpj65x4pwb/tmp28l0ucsh.template: 972s # /*** BEGIN file-header ***/ 972s # file-header 972s # /*** END file-header ***/ 972s # 972s # /*** BEGIN file-production ***/ 972s # file-production 972s # filename: @filename@ 972s # basename: @basename@ 972s # /*** END file-production ***/ 972s # 972s # /*** BEGIN enumeration-production ***/ 972s # enumeration-production 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END enumeration-production ***/ 972s # 972s # /*** BEGIN value-header ***/ 972s # value-header 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-header ***/ 972s # 972s # /*** BEGIN value-production ***/ 972s # value-production 972s # VALUENAME: @VALUENAME@ 972s # valuenick: @valuenick@ 972s # valuenum: @valuenum@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-production ***/ 972s # 972s # /*** BEGIN value-tail ***/ 972s # value-tail 972s # EnumName: @EnumName@ 972s # enum_name: @enum_name@ 972s # ENUMNAME: @ENUMNAME@ 972s # ENUMSHORT: @ENUMSHORT@ 972s # ENUMPREFIX: @ENUMPREFIX@ 972s # enumsince: @enumsince@ 972s # type: @type@ 972s # Type: @Type@ 972s # TYPE: @TYPE@ 972s # /*** END value-tail ***/ 972s # 972s # /*** BEGIN comment ***/ 972s # comment 972s # comment: @comment@ 972s # /*** END comment ***/ 972s # 972s # /*** BEGIN file-tail ***/ 972s # file-tail 972s # /*** END file-tail ***/ 972s # 972s # Response file contains: --template /tmp/tmpj65x4pwb/tmp28l0ucsh.template /tmp/tmpj65x4pwb/tmpbkv3wefv.h 972s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj65x4pwb/tmp1tolak_u'] 972s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 972s # Output: comment 972s # 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. 972s # 972s # 972s # file-header 972s # file-production 972s # filename: /tmp/tmpj65x4pwb/tmpbkv3wefv.h 972s # basename: tmpbkv3wefv.h 972s # enumeration-production 972s # EnumName: Foo 972s # enum_name: foo_ 972s # ENUMNAME: FOO_ 972s # ENUMSHORT: 972s # ENUMPREFIX: FOO 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-header 972s # EnumName: Foo 972s # enum_name: foo_ 972s # ENUMNAME: FOO_ 972s # ENUMSHORT: 972s # ENUMPREFIX: FOO 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-production 972s # VALUENAME: FOO_VALUE 972s # valuenick: eek, a comma 972s # valuenum: 0 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # value-tail 972s # EnumName: Foo 972s # enum_name: foo_ 972s # ENUMNAME: FOO_ 972s # ENUMSHORT: 972s # ENUMPREFIX: FOO 972s # enumsince: 972s # type: enum 972s # Type: Enum 972s # TYPE: ENUM 972s # file-tail 972s # 972s # comment 972s # comment: Generated data ends here 972s 1..36 972s ok - glib/mkenums.py.test 972s # Running test: glib/mappedfile.test 972s TAP version 14 972s # random seed: R02S97ebbd9f08827bf7dccd7014c2446706 972s 1..7 972s # Start of mappedfile tests 972s ok 1 /mappedfile/basic 972s ok 2 /mappedfile/empty 972s ok 3 /mappedfile/device 972s ok 4 /mappedfile/nonexisting 972s ok 5 /mappedfile/writable 972s ok 6 /mappedfile/writable_fd 972s ok 7 /mappedfile/gbytes 972s # End of mappedfile tests 972s ok - glib/mappedfile.test 972s # Running test: glib/closure.test 972s TAP version 14 972s # random seed: R02Scb569bcb9671bfe89bd86e7159e291c0 972s 1..6 972s # Start of closure tests 972s ok 1 /closure/idle 972s ok 2 /closure/timeout 972s ok 3 /closure/iochannel 972s ok 4 /closure/child 972s ok 5 /closure/fd 972s ok 6 /closure/signal 972s # End of closure tests 972s ok - glib/closure.test 972s # Running test: glib/unix.test 972s TAP version 14 972s # random seed: R02S38c5d90417a8e85b6deed262c0c6ba1d 972s 1..20 972s # Start of glib-unix tests 972s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 972s ok 1 /glib-unix/closefrom 972s ok 2 /glib-unix/pipe 972s # /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 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 972s ok 3 /glib-unix/pipe-stdio-overwrite 972s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 972s ok 4 /glib-unix/pipe-struct 972s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 972s ok 5 /glib-unix/pipe-struct-auto 972s ok 6 /glib-unix/error 972s ok 7 /glib-unix/nonblocking 972s ok 8 /glib-unix/sighup 972s # slow test /glib-unix/sighup executed in 0.50 secs 973s ok 9 /glib-unix/sigterm 973s # slow test /glib-unix/sigterm executed in 0.50 secs 973s # Executing: glib/unix.test 973s ok 10 /glib-unix/sighup_again 973s # slow test /glib-unix/sighup_again executed in 0.50 secs 973s ok 11 /glib-unix/sighup_add_remove 973s ok 12 /glib-unix/sighup_nested 975s ok 13 /glib-unix/callback_after_signal 975s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 975s ok 14 /glib-unix/child-wait 975s # Start of closefrom tests 975s # Start of subprocess tests 975s # End of subprocess tests 975s # End of closefrom tests 975s # Start of pipe tests 975s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 975s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 975s ok 15 /glib-unix/pipe/fd-cloexec 975s # End of pipe tests 975s # Start of sighup tests 976s ok 16 /glib-unix/sighup/alternate-stack 976s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 976s # End of sighup tests 976s # Start of sigterm tests 977s ok 17 /glib-unix/sigterm/alternate-stack 977s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 977s # End of sigterm tests 977s # Start of sighup_again tests 978s # Executing: glib/unix.test 978s ok 18 /glib-unix/sighup_again/alternate-stack 978s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 978s # End of sighup_again tests 978s # Start of get-passwd-entry tests 978s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 978s ok 19 /glib-unix/get-passwd-entry/root 978s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 978s ok 20 /glib-unix/get-passwd-entry/nonexistent 978s # End of get-passwd-entry tests 978s # End of glib-unix tests 978s ok - glib/unix.test 978s # Running test: glib/genmarshal.py.test 979s TAP version 13 979s ok 1 __main__.TestGenmarshal.test_empty_list 979s # tmpdir: /tmp/tmpwpsxqsdq 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmpwpsxqsdq/tmpwe89atki.list: 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwpsxqsdq/tmpwe89atki.list', '--header', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # #include 979s # 979s # G_BEGIN_DECLS 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwpsxqsdq/tmpwe89atki.list', '--body', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #include 979s # 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s ok 2 __main__.TestGenmarshal.test_help 979s # tmpdir: /tmp/tmpmvjbd6hy 979s # genmarshal: /usr/bin/glib-genmarshal 979s # Running: ['/usr/bin/glib-genmarshal', '--help'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 979s # [--internal] [--valist-marshallers] [-v] 979s # [--g-fatal-warnings] [--include-header [HEADER]] 979s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 979s # [--prototypes] [--header] [--body] 979s # [--stdinc | --nostdinc] [--quiet | --verbose] 979s # [FILE ...] 979s # 979s # Generate signal marshallers for GObject 979s # 979s # positional arguments: 979s # FILE Files with lists of marshallers to generate, or "-" 979s # for standard input 979s # 979s # options: 979s # -h, --help show this help message and exit 979s # --prefix STRING Specify marshaller prefix 979s # --output FILE Write output into the specified file 979s # --skip-source Skip source location comments 979s # --internal Mark generated functions as internal 979s # --valist-marshallers Generate va_list marshallers 979s # -v, --version Print version information, and exit 979s # --g-fatal-warnings Make warnings fatal 979s # --include-header [HEADER] 979s # Include the specified header in the body 979s # --pragma-once Use "pragma once" as the inclusion guard 979s # -D CPP_DEFINES Pre-processor define 979s # -U CPP_UNDEFINES Pre-processor undefine 979s # --prototypes Generate the marshallers prototype in the C code 979s # --header Generate C headers 979s # --body Generate C code 979s # --stdinc Include standard marshallers 979s # --nostdinc Use standard marshallers 979s # --quiet Only print warnings and errors 979s # --verbose Be verbose, and include debugging information 979s ok 3 __main__.TestGenmarshal.test_no_args 979s # tmpdir: /tmp/tmpzbyoqlpl 979s # genmarshal: /usr/bin/glib-genmarshal 979s # Running: ['/usr/bin/glib-genmarshal'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # Output: 979s ok 4 __main__.TestGenmarshal.test_void_boolean 979s # tmpdir: /tmp/tmpl50cus_j 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmpl50cus_j/tmppybluh6p.list: VOID:BOOLEAN 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl50cus_j/tmppybluh6p.list', '--header', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # #include 979s # 979s # G_BEGIN_DECLS 979s # 979s # /* VOID:BOOLEAN (/tmp/tmpl50cus_j/tmppybluh6p.list:1) */ 979s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl50cus_j/tmppybluh6p.list', '--body', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #include 979s # 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 979s # tmpdir: /tmp/tmptajdqpz2 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmptajdqpz2/tmpt95jwcgm.list: VOID:BOOLEAN,INT64 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptajdqpz2/tmpt95jwcgm.list', '--header', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # #include 979s # 979s # G_BEGIN_DECLS 979s # 979s # /* VOID:BOOLEAN,INT64 (/tmp/tmptajdqpz2/tmpt95jwcgm.list:1) */ 979s # extern 979s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 979s # GValue *return_value, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint, 979s # gpointer marshal_data); 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptajdqpz2/tmpt95jwcgm.list', '--body', '--quiet'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #include 979s # 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s # 979s # /* VOID:BOOLEAN,INT64 (/tmp/tmptajdqpz2/tmpt95jwcgm.list:1) */ 979s # void 979s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint G_GNUC_UNUSED, 979s # gpointer marshal_data) 979s # { 979s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 979s # gboolean arg1, 979s # gint64 arg2, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 979s # 979s # g_return_if_fail (n_param_values == 3); 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = g_value_peek_pointer (param_values + 0); 979s # } 979s # else 979s # { 979s # data1 = g_value_peek_pointer (param_values + 0); 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # g_marshal_value_peek_boolean (param_values + 1), 979s # g_marshal_value_peek_int64 (param_values + 2), 979s # data2); 979s # } 979s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 979s # tmpdir: /tmp/tmp4_lfpyia 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmp4_lfpyia/tmpi_0hb8ue.list: VOID:PARAM 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4_lfpyia/tmpi_0hb8ue.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # G_BEGIN_DECLS 979s # 979s # /* VOID:PARAM (/tmp/tmp4_lfpyia/tmpi_0hb8ue.list:1) */ 979s # extern 979s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 979s # GValue *return_value, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint, 979s # gpointer marshal_data); 979s # extern 979s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 979s # GValue *return_value, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types); 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4_lfpyia/tmpi_0hb8ue.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s # 979s # /* VOID:PARAM (/tmp/tmp4_lfpyia/tmpi_0hb8ue.list:1) */ 979s # void 979s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint G_GNUC_UNUSED, 979s # gpointer marshal_data) 979s # { 979s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__PARAM callback; 979s # 979s # g_return_if_fail (n_param_values == 2); 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = g_value_peek_pointer (param_values + 0); 979s # } 979s # else 979s # { 979s # data1 = g_value_peek_pointer (param_values + 0); 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # g_marshal_value_peek_param (param_values + 1), 979s # data2); 979s # } 979s # 979s # void 979s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types) 979s # { 979s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__PARAM callback; 979s # gpointer arg0; 979s # va_list args_copy; 979s # 979s # va_copy (args_copy, args); 979s # arg0 = (gpointer) va_arg (args_copy, gpointer); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # arg0 = g_param_spec_ref (arg0); 979s # va_end (args_copy); 979s # 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = instance; 979s # } 979s # else 979s # { 979s # data1 = instance; 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # arg0, 979s # data2); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # g_param_spec_unref (arg0); 979s # } 979s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 979s # tmpdir: /tmp/tmph95xa6sd 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmph95xa6sd/tmpkpmto7gp.list: VOID:STRING 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph95xa6sd/tmpkpmto7gp.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # G_BEGIN_DECLS 979s # 979s # /* VOID:STRING (/tmp/tmph95xa6sd/tmpkpmto7gp.list:1) */ 979s # extern 979s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 979s # GValue *return_value, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint, 979s # gpointer marshal_data); 979s # extern 979s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 979s # GValue *return_value, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types); 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph95xa6sd/tmpkpmto7gp.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s # 979s # /* VOID:STRING (/tmp/tmph95xa6sd/tmpkpmto7gp.list:1) */ 979s # void 979s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint G_GNUC_UNUSED, 979s # gpointer marshal_data) 979s # { 979s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__STRING callback; 979s # 979s # g_return_if_fail (n_param_values == 2); 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = g_value_peek_pointer (param_values + 0); 979s # } 979s # else 979s # { 979s # data1 = g_value_peek_pointer (param_values + 0); 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # g_marshal_value_peek_string (param_values + 1), 979s # data2); 979s # } 979s # 979s # void 979s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types) 979s # { 979s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__STRING callback; 979s # gpointer arg0; 979s # va_list args_copy; 979s # 979s # va_copy (args_copy, args); 979s # arg0 = (gpointer) va_arg (args_copy, gpointer); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # arg0 = g_strdup (arg0); 979s # va_end (args_copy); 979s # 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = instance; 979s # } 979s # else 979s # { 979s # data1 = instance; 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # arg0, 979s # data2); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # g_free (arg0); 979s # } 979s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 979s # tmpdir: /tmp/tmpnrs_pr2m 979s # genmarshal: /usr/bin/glib-genmarshal 979s # /tmp/tmpnrs_pr2m/tmpohp8jvxk.list: VOID:VARIANT 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnrs_pr2m/tmpohp8jvxk.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 979s # 979s # G_BEGIN_DECLS 979s # 979s # /* VOID:VARIANT (/tmp/tmpnrs_pr2m/tmpohp8jvxk.list:1) */ 979s # extern 979s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 979s # GValue *return_value, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint, 979s # gpointer marshal_data); 979s # extern 979s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 979s # GValue *return_value, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types); 979s # 979s # 979s # G_END_DECLS 979s # 979s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 979s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnrs_pr2m/tmpohp8jvxk.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 979s # 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': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BqF9ltXkuH,guid=fd72222ed3a6c8b8c708a5af6734d388', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.NhOVdm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.NhOVdm/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.NhOVdm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.ATem1luFk8', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.MEd7Vk/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.NhOVdm/build.S62/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.NhOVdm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 979s # 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. */ 979s # #ifdef G_ENABLE_DEBUG 979s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 979s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 979s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 979s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 979s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 979s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 979s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 979s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 979s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 979s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 979s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 979s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 979s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 979s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 979s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 979s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 979s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 979s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 979s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 979s # #else /* !G_ENABLE_DEBUG */ 979s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 979s # * Do not access GValues directly in your code. Instead, use the 979s # * g_value_get_*() functions 979s # */ 979s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 979s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 979s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 979s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 979s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 979s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 979s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 979s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 979s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 979s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 979s # #endif /* !G_ENABLE_DEBUG */ 979s # 979s # /* VOID:VARIANT (/tmp/tmpnrs_pr2m/tmpohp8jvxk.list:1) */ 979s # void 979s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # guint n_param_values, 979s # const GValue *param_values, 979s # gpointer invocation_hint G_GNUC_UNUSED, 979s # gpointer marshal_data) 979s # { 979s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__VARIANT callback; 979s # 979s # g_return_if_fail (n_param_values == 2); 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = g_value_peek_pointer (param_values + 0); 979s # } 979s # else 979s # { 979s # data1 = g_value_peek_pointer (param_values + 0); 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # g_marshal_value_peek_variant (param_values + 1), 979s # data2); 979s # } 979s # 979s # void 979s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 979s # GValue *return_value G_GNUC_UNUSED, 979s # gpointer instance, 979s # va_list args, 979s # gpointer marshal_data, 979s # int n_params, 979s # GType *param_types) 979s # { 979s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 979s # gpointer arg1, 979s # gpointer data2); 979s # GCClosure *cc = (GCClosure *) closure; 979s # gpointer data1, data2; 979s # GMarshalFunc_VOID__VARIANT callback; 979s # gpointer arg0; 979s # va_list args_copy; 979s # 979s # va_copy (args_copy, args); 979s # arg0 = (gpointer) va_arg (args_copy, gpointer); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # arg0 = g_variant_ref_sink (arg0); 979s # va_end (args_copy); 979s # 979s # 979s # if (G_CCLOSURE_SWAP_DATA (closure)) 979s # { 979s # data1 = closure->data; 979s # data2 = instance; 979s # } 979s # else 979s # { 979s # data1 = instance; 979s # data2 = closure->data; 979s # } 979s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 979s # 979s # callback (data1, 979s # arg0, 979s # data2); 979s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 979s # g_variant_unref (arg0); 979s # } 979s 1..8 979s ok - glib/genmarshal.py.test 979s # Running test: glib/defaultiface.test 979s TAP version 14 979s # random seed: R02Sd975b768e83ba2ef7092626f747afb5c 979s 1..2 979s # Start of gobject tests 979s ok 1 /gobject/static-iface 979s ok 2 /gobject/dynamic-iface 979s # End of gobject tests 979s ok - glib/defaultiface.test 979s # Running test: glib/g-icon.test 979s TAP version 14 979s # random seed: R02S0af989773a39515edd684e3d96eebe59 979s 1..6 979s # Start of icons tests 979s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 979s ok 1 /icons/to-string 979s ok 2 /icons/serialize 979s ok 3 /icons/themed 979s ok 4 /icons/emblemed 979s ok 5 /icons/file 979s ok 6 /icons/bytes 979s # End of icons tests 979s ok - glib/g-icon.test 979s # Running test: glib/objects-refcount1.test 979s TAP version 14 979s # random seed: R02S549a518a8af7e0c43dbbe65bd3cc3b4d 979s 1..1 979s # Start of gobject tests 979s # Start of refcount tests 979s # init 0x697e1e0 979s # 979s # init 0x697e330 979s # 983s # Executing: glib/objects-refcount1.test 984s # dispose 0x697e1e0! 984s # 984s # dispose 0x697e330! 984s # 984s ok 1 /gobject/refcount/object-basics 984s # slow test /gobject/refcount/object-basics executed in 5.00 secs 984s # End of refcount tests 984s # End of gobject tests 984s ok - glib/objects-refcount1.test 984s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=318.5s; system=86.9s; maxrss=140800 985s autopkgtest [16:33:41]: test installed-tests: -----------------------] 989s autopkgtest [16:33:45]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 989s installed-tests PASS 993s autopkgtest [16:33:49]: test closure-refcount: preparing testbed 1003s Reading package lists... 1003s Building dependency tree... 1003s Reading state information... 1004s Starting pkgProblemResolver with broken count: 0 1004s Starting 2 pkgProblemResolver with broken count: 0 1004s Done 1005s The following NEW packages will be installed: 1005s autopkgtest-satdep 1005s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1005s Need to get 0 B/776 B of archives. 1005s After this operation, 0 B of additional disk space will be used. 1005s Get:1 /tmp/autopkgtest.NhOVdm/4-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1005s Selecting previously unselected package autopkgtest-satdep. 1005s (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 ... 61086 files and directories currently installed.) 1005s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1005s Unpacking autopkgtest-satdep (0) ... 1005s Setting up autopkgtest-satdep (0) ... 1015s (Reading database ... 61086 files and directories currently installed.) 1015s Removing autopkgtest-satdep (0) ... 1021s autopkgtest [16:34:17]: test closure-refcount: [----------------------- 1023s Running test: glib/closure-refcount.test 1023s TAP version 14 1023s # random seed: R02Seffd8479829a3a6b85b5897150080cf7 1023s 1..1 1023s # Start of closure tests 1023s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1023s # End of closure tests 1023s PASS: glib/closure-refcount.test 1023s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432 1023s autopkgtest [16:34:19]: test closure-refcount: -----------------------] 1027s closure-refcount PASS 1027s autopkgtest [16:34:23]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1031s autopkgtest [16:34:27]: test debugcontroller: preparing testbed 1041s Reading package lists... 1041s Building dependency tree... 1041s Reading state information... 1042s Starting pkgProblemResolver with broken count: 0 1042s Starting 2 pkgProblemResolver with broken count: 0 1042s Done 1043s The following NEW packages will be installed: 1043s autopkgtest-satdep 1043s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1043s Need to get 0 B/772 B of archives. 1043s After this operation, 0 B of additional disk space will be used. 1043s Get:1 /tmp/autopkgtest.NhOVdm/5-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1043s Selecting previously unselected package autopkgtest-satdep. 1043s (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 ... 61086 files and directories currently installed.) 1043s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1043s Unpacking autopkgtest-satdep (0) ... 1043s Setting up autopkgtest-satdep (0) ... 1052s (Reading database ... 61086 files and directories currently installed.) 1052s Removing autopkgtest-satdep (0) ... 1058s autopkgtest [16:34:54]: test debugcontroller: [----------------------- 1060s Running test: glib/debugcontroller.test 1060s TAP version 14 1060s # random seed: R02S7057268c3917fbab918302a54db2e01e 1060s 1..3 1060s # Start of debug-controller tests 1060s # Start of dbus tests 1060s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1060s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1060s # GLib-GIO-DEBUG: Debug output enabled 1060s # GLib-GIO-DEBUG: Debug output disabled 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s ok 1 /debug-controller/dbus/basic 1060s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1060s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s ok 2 /debug-controller/dbus/duplicate 1060s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1060s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1060s # GLib-GIO-DEBUG: Debug output enabled 1060s # GLib-GIO-DEBUG: Debug output disabled 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1060s ok 3 /debug-controller/dbus/properties 1060s # End of dbus tests 1060s # End of debug-controller tests 1060s PASS: glib/debugcontroller.test 1060s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4608 1061s autopkgtest [16:34:57]: test debugcontroller: -----------------------] 1065s debugcontroller PASS 1065s autopkgtest [16:35:01]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1069s autopkgtest [16:35:05]: test gdbus-server-auth: preparing testbed 1079s Reading package lists... 1079s Building dependency tree... 1079s Reading state information... 1080s Starting pkgProblemResolver with broken count: 0 1080s Starting 2 pkgProblemResolver with broken count: 0 1080s Done 1081s The following NEW packages will be installed: 1081s autopkgtest-satdep 1081s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1081s Need to get 0 B/776 B of archives. 1081s After this operation, 0 B of additional disk space will be used. 1081s Get:1 /tmp/autopkgtest.NhOVdm/6-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1081s Selecting previously unselected package autopkgtest-satdep. 1081s (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 ... 61086 files and directories currently installed.) 1081s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1081s Unpacking autopkgtest-satdep (0) ... 1081s Setting up autopkgtest-satdep (0) ... 1090s (Reading database ... 61086 files and directories currently installed.) 1090s Removing autopkgtest-satdep (0) ... 1096s autopkgtest [16:35:32]: test gdbus-server-auth: [----------------------- 1098s Running test: glib/gdbus-server-auth.test 1098s TAP version 14 1098s # random seed: R02S9df1688c96f90bd66fc9701276c7fbf3 1098s 1..9 1098s # Start of gdbus tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/.dirs/runtime 1098s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-L0SDX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1098s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-L0SDX2/dbus-VMLDPFlS 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1098s ok 1 /gdbus/server-auth 1098s # Start of server-auth tests 1098s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/home 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/cache 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/system-config2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/config 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/system-data2 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/data 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/state 1098s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/abstract/.dirs/runtime 1098s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-WB1CX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1098s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-WB1CX2/dbus-hPQT6eSF 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1098s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1098s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1098s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1098s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1098s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1098s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1099s ok 2 /gdbus/server-auth/abstract 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/tcp/.dirs/runtime 1099s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1099s # Connectable address: tcp:host=127.0.0.1,port=46205 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1099s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1099s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1099s ok 3 /gdbus/server-auth/tcp 1099s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/.dirs/runtime 1099s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-VO0KX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1099s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-VO0KX2/dbus-06puBTOW 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1099s ok 4 /gdbus/server-auth/anonymous 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/.dirs/runtime 1099s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-06CCX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1099s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-06CCX2/dbus-MK1xEQqe 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1099s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1099s ok 5 /gdbus/server-auth/external 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/.dirs/runtime 1099s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-3KEBX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1099s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-3KEBX2/dbus-HM2uqBDm 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1099s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1099s ok 6 /gdbus/server-auth/sha1 1099s # Start of anonymous tests 1099s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/home 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/config 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/data 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/state 1099s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1099s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1099s # Connectable address: tcp:host=127.0.0.1,port=34965 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1099s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1099s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1099s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1100s ok 7 /gdbus/server-auth/anonymous/tcp 1100s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.85 secs 1100s # End of anonymous tests 1100s # Start of external tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1100s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-20ZLX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1100s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U5TDX2/gdbus-server-auth-20ZLX2/dbus-eFo9pwi9 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15883 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1100s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15883,uid=1000,gid=1000 1100s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15883 1100s ok 8 /gdbus/server-auth/external/require-same-user 1100s # End of external tests 1100s # Start of sha1 tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U5TDX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1100s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1100s # Connectable address: tcp:host=127.0.0.1,port=39851 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1100s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1100s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1100s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1101s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1101s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1101s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1101s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1101s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1101s ok 9 /gdbus/server-auth/sha1/tcp 1101s # slow test /gdbus/server-auth/sha1/tcp executed in 0.87 secs 1101s # End of sha1 tests 1101s # End of server-auth tests 1101s # End of gdbus tests 1101s PASS: glib/gdbus-server-auth.test 1101s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=5888 1102s autopkgtest [16:35:38]: test gdbus-server-auth: -----------------------] 1106s autopkgtest [16:35:42]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1106s gdbus-server-auth PASS 1109s autopkgtest [16:35:45]: test gdbus-threading: preparing testbed 1119s Reading package lists... 1120s Building dependency tree... 1120s Reading state information... 1120s Starting pkgProblemResolver with broken count: 0 1120s Starting 2 pkgProblemResolver with broken count: 0 1120s Done 1121s The following NEW packages will be installed: 1121s autopkgtest-satdep 1121s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1121s Need to get 0 B/772 B of archives. 1121s After this operation, 0 B of additional disk space will be used. 1121s Get:1 /tmp/autopkgtest.NhOVdm/7-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1121s Selecting previously unselected package autopkgtest-satdep. 1122s (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 ... 61086 files and directories currently installed.) 1122s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1122s Unpacking autopkgtest-satdep (0) ... 1122s Setting up autopkgtest-satdep (0) ... 1131s (Reading database ... 61086 files and directories currently installed.) 1131s Removing autopkgtest-satdep (0) ... 1137s autopkgtest [16:36:13]: test gdbus-threading: [----------------------- 1139s Running test: glib/gdbus-threading.test 1139s TAP version 14 1139s # random seed: R02S2a55557a213056a1dc355f8201e673a4 1139s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1139s 1..3 1139s # Start of gdbus tests 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HGCJX2/gdbus/delivery-in-thread/.dirs/runtime 1139s ok 1 /gdbus/delivery-in-thread 1139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/home 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/cache 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/system-config2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/config 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/system-data2 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/data 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/state 1139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HGCJX2/gdbus/method-calls-in-thread/.dirs/runtime 1140s ok 2 /gdbus/method-calls-in-thread 1140s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HGCJX2/gdbus/threaded-singleton/.dirs/runtime 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: refcount of 0xed503cb8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1140s # GLib-GIO-DEBUG: refcount of 0xed503cb8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1141s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: refcount of 0xed5044f0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s ok 3 /gdbus/threaded-singleton 1142s # slow test /gdbus/threaded-singleton executed in 1.95 secs 1142s # End of gdbus tests 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s PASS: glib/gdbus-threading.test 1142s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.7s; maxrss=4352 1142s autopkgtest [16:36:18]: test gdbus-threading: -----------------------] 1147s autopkgtest [16:36:23]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1147s gdbus-threading PASS 1151s autopkgtest [16:36:27]: test gmenumodel: preparing testbed 1161s Reading package lists... 1162s Building dependency tree... 1162s Reading state information... 1163s Starting pkgProblemResolver with broken count: 0 1163s Starting 2 pkgProblemResolver with broken count: 0 1163s Done 1165s The following NEW packages will be installed: 1165s autopkgtest-satdep 1165s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1165s Need to get 0 B/772 B of archives. 1165s After this operation, 0 B of additional disk space will be used. 1165s Get:1 /tmp/autopkgtest.NhOVdm/8-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1166s Selecting previously unselected package autopkgtest-satdep. 1166s (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 ... 61086 files and directories currently installed.) 1166s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1166s Unpacking autopkgtest-satdep (0) ... 1166s Setting up autopkgtest-satdep (0) ... 1178s (Reading database ... 61086 files and directories currently installed.) 1178s Removing autopkgtest-satdep (0) ... 1184s autopkgtest [16:37:00]: test gmenumodel: [----------------------- 1186s Running test: glib/gmenumodel.test 1186s TAP version 14 1186s # random seed: R02S0fbc153c25fa9c56f0b6ec47bd181e54 1186s 1..15 1186s # Start of gmenu tests 1187s ok 1 /gmenu/equality 1187s # slow test /gmenu/equality executed in 0.93 secs 1188s ok 2 /gmenu/random 1188s # slow test /gmenu/random executed in 1.27 secs 1188s ok 3 /gmenu/attributes 1188s ok 4 /gmenu/links 1188s ok 5 /gmenu/mutable 1188s ok 6 /gmenu/convenience 1188s ok 7 /gmenu/menuitem 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s ok 8 /gmenu/input-validation 1188s # Start of dbus tests 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1189s ok 9 /gmenu/dbus/roundtrip 1189s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1189s ok 10 /gmenu/dbus/subscriptions 1191s Executing: glib/gmenumodel.test 1191s ok 11 /gmenu/dbus/threaded 1191s # slow test /gmenu/dbus/threaded executed in 1.89 secs 1191s # Start of peer tests 1192s ok 12 /gmenu/dbus/peer/roundtrip 1192s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1193s ok 13 /gmenu/dbus/peer/subscriptions 1193s # End of peer tests 1193s # Start of export tests 1193s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1193s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1193s ok 14 /gmenu/dbus/export/error-handling 1193s # End of export tests 1193s # End of dbus tests 1193s # Start of attributes tests 1193s ok 15 /gmenu/attributes/iterate 1193s # End of attributes tests 1193s # End of gmenu tests 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s PASS: glib/gmenumodel.test 1193s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=8.6s; system=1.7s; maxrss=9088 1193s autopkgtest [16:37:09]: test gmenumodel: -----------------------] 1197s gmenumodel PASS 1197s autopkgtest [16:37:13]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1201s autopkgtest [16:37:17]: test mainloop: preparing testbed 1211s Reading package lists... 1211s Building dependency tree... 1211s Reading state information... 1212s Starting pkgProblemResolver with broken count: 0 1212s Starting 2 pkgProblemResolver with broken count: 0 1212s Done 1212s The following NEW packages will be installed: 1212s autopkgtest-satdep 1213s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1213s Need to get 0 B/772 B of archives. 1213s After this operation, 0 B of additional disk space will be used. 1213s Get:1 /tmp/autopkgtest.NhOVdm/9-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1213s Selecting previously unselected package autopkgtest-satdep. 1213s (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 ... 61086 files and directories currently installed.) 1213s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1213s Unpacking autopkgtest-satdep (0) ... 1213s Setting up autopkgtest-satdep (0) ... 1226s (Reading database ... 61086 files and directories currently installed.) 1226s Removing autopkgtest-satdep (0) ... 1232s autopkgtest [16:37:48]: test mainloop: [----------------------- 1234s Running test: glib/mainloop.test 1234s TAP version 14 1234s # random seed: R02Sf25916096df11246c152c8864133b313 1234s 1..45 1234s # Start of maincontext tests 1234s ok 1 /maincontext/basic 1234s # Add same-priority sources: 34 1234s # Find each source: 4 1234s # Remove in random order: 93 1234s ok 2 /maincontext/nsources_same_priority 1234s # Add different-priority sources: 44 1234s # Find each source: 4 1234s # Remove in random order: 98 1234s ok 3 /maincontext/nsources_different_priority 1235s # Add sources from threads: 305 1235s # Remove sources from threads: 519 1235s ok 4 /maincontext/nsources_threadpool 1235s # slow test /maincontext/nsources_threadpool executed in 0.83 secs 1235s ok 5 /maincontext/source_finalization 1235s # /maincontext/idle-once summary: Test g_idle_add_once() works 1235s ok 6 /maincontext/idle-once 1235s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1235s ok 7 /maincontext/timeout-once 1235s # Start of source_finalization_from_source tests 1235s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 8 /maincontext/source_finalization_from_source/0 1235s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 9 /maincontext/source_finalization_from_source/1 1235s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 10 /maincontext/source_finalization_from_source/2 1235s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 11 /maincontext/source_finalization_from_source/3 1235s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 12 /maincontext/source_finalization_from_source/4 1235s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 13 /maincontext/source_finalization_from_source/5 1235s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 14 /maincontext/source_finalization_from_source/6 1235s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 15 /maincontext/source_finalization_from_source/7 1235s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 16 /maincontext/source_finalization_from_source/8 1235s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1235s ok 17 /maincontext/source_finalization_from_source/9 1235s # End of source_finalization_from_source tests 1235s # Start of source_finalization_from_dispatch tests 1235s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1235s ok 18 /maincontext/source_finalization_from_dispatch/0 1235s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1235s ok 19 /maincontext/source_finalization_from_dispatch/1 1235s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1235s ok 20 /maincontext/source_finalization_from_dispatch/2 1235s # End of source_finalization_from_dispatch tests 1235s # End of maincontext tests 1235s # Start of mainloop tests 1235s ok 21 /mainloop/basic 1235s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1235s ok 23 /mainloop/priorities 1236s ok 24 /mainloop/invoke 1236s # slow test /mainloop/invoke executed in 0.50 secs 1237s ok 25 /mainloop/child_sources 1237s # slow test /mainloop/child_sources executed in 1.19 secs 1239s Executing: glib/mainloop.test 1239s ok 26 /mainloop/recursive_child_sources 1239s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1239s ok 27 /mainloop/recursive_loop_child_sources 1239s ok 28 /mainloop/swapping_child_sources 1239s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1239s ok 29 /mainloop/blocked_child_sources 1240s ok 30 /mainloop/source_time 1240s # slow test /mainloop/source_time executed in 1.00 secs 1240s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1240s ok 31 /mainloop/overflow 1241s ok 32 /mainloop/ready-time 1241s # slow test /mainloop/ready-time executed in 0.50 secs 1241s ok 33 /mainloop/wakeup 1241s ok 34 /mainloop/remove-invalid 1241s ok 35 /mainloop/unref-while-pending 1242s ok 36 /mainloop/unix-fd 1242s # slow test /mainloop/unix-fd executed in 0.88 secs 1242s ok 37 /mainloop/unix-fd-source 1242s ok 38 /mainloop/source-unix-fd-api 1242s ok 39 /mainloop/wait 1242s ok 40 /mainloop/unix-file-poll 1242s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1242s ok 41 /mainloop/unix-fd-priority 1242s ok 42 /mainloop/nfds 1242s ok 43 /mainloop/steal-fd 1242s # Start of ownerless-polling tests 1242s ok 44 /mainloop/ownerless-polling/attach-first 1242s ok 45 /mainloop/ownerless-polling/pop-first 1242s # End of ownerless-polling tests 1242s # End of mainloop tests 1242s PASS: glib/mainloop.test 1242s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=2.7s; maxrss=9288 1242s autopkgtest [16:37:58]: test mainloop: -----------------------] 1246s autopkgtest [16:38:02]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1246s mainloop PASS 1250s autopkgtest [16:38:06]: test memory-monitor-dbus: preparing testbed 1260s Reading package lists... 1260s Building dependency tree... 1260s Reading state information... 1261s Starting pkgProblemResolver with broken count: 0 1261s Starting 2 pkgProblemResolver with broken count: 0 1261s Done 1262s The following NEW packages will be installed: 1262s autopkgtest-satdep 1262s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1262s Need to get 0 B/772 B of archives. 1262s After this operation, 0 B of additional disk space will be used. 1262s Get:1 /tmp/autopkgtest.NhOVdm/10-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1262s Selecting previously unselected package autopkgtest-satdep. 1262s (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 ... 61086 files and directories currently installed.) 1262s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1262s Unpacking autopkgtest-satdep (0) ... 1262s Setting up autopkgtest-satdep (0) ... 1272s (Reading database ... 61086 files and directories currently installed.) 1272s Removing autopkgtest-satdep (0) ... 1278s autopkgtest [16:38:34]: test memory-monitor-dbus: [----------------------- 1280s Running test: glib/memory-monitor-dbus.test 1280s TAP version 13 1280s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1280s # Received memory warning signal, level 1280s # Received memory warning signal, level 1280s # Received memory warning signal, level 1280s 1..1 1280s PASS: glib/memory-monitor-dbus.test 1280s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=20680 1281s autopkgtest [16:38:37]: test memory-monitor-dbus: -----------------------] 1285s autopkgtest [16:38:41]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1285s memory-monitor-dbus PASS 1289s autopkgtest [16:38:45]: test socket: preparing testbed 1300s Reading package lists... 1301s Building dependency tree... 1301s Reading state information... 1301s Starting pkgProblemResolver with broken count: 0 1301s Starting 2 pkgProblemResolver with broken count: 0 1301s Done 1302s The following NEW packages will be installed: 1302s autopkgtest-satdep 1302s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1302s Need to get 0 B/776 B of archives. 1302s After this operation, 0 B of additional disk space will be used. 1302s Get:1 /tmp/autopkgtest.NhOVdm/11-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1302s Selecting previously unselected package autopkgtest-satdep. 1302s (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 ... 61086 files and directories currently installed.) 1302s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1302s Unpacking autopkgtest-satdep (0) ... 1302s Setting up autopkgtest-satdep (0) ... 1312s (Reading database ... 61086 files and directories currently installed.) 1312s Removing autopkgtest-satdep (0) ... 1318s autopkgtest [16:39:14]: test socket: [----------------------- 1320s Running test: glib/socket.test 1320s TAP version 14 1320s # random seed: R02S6f7af7e6eaa3780ad53f2cbcb9da5101 1320s 1..28 1320s # Start of socket tests 1321s ok 1 /socket/ipv4_sync 1321s # slow test /socket/ipv4_sync executed in 1.00 secs 1322s ok 2 /socket/ipv4_async 1322s # slow test /socket/ipv4_async executed in 1.00 secs 1322s ok 3 /socket/ipv6_sync 1322s ok 4 /socket/ipv6_async 1322s ok 5 /socket/ipv6_v4mapped 1323s ok 6 /socket/close_graceful 1323s # slow test /socket/close_graceful executed in 1.00 secs 1323s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1323s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1323s ok 8 /socket/fd_reuse 1323s ok 9 /socket/address 1323s ok 10 /socket/unix-from-fd 1323s ok 11 /socket/unix-connection 1323s ok 12 /socket/unix-connection-ancillary-data 1323s ok 13 /socket/source-postmortem 1323s ok 14 /socket/read_write 1323s ok 15 /socket/read_writev 1323s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1323s ok 16 /socket/receive_bytes 1323s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1323s ok 17 /socket/receive_bytes_from 1323s # Start of ipv4_sync tests 1323s ok 18 /socket/ipv4_sync/datagram 1323s # Start of datagram tests 1324s ok 19 /socket/ipv4_sync/datagram/timeouts 1324s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1324s # End of datagram tests 1324s # End of ipv4_sync tests 1324s # Start of ipv6_sync tests 1324s ok 20 /socket/ipv6_sync/datagram 1324s # Start of datagram tests 1325s ok 21 /socket/ipv6_sync/datagram/timeouts 1325s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1325s # End of datagram tests 1325s # End of ipv6_sync tests 1325s # Start of reuse tests 1325s ok 22 /socket/reuse/tcp 1325s ok 23 /socket/reuse/udp 1325s # End of reuse tests 1325s # Start of get_available tests 1326s ok 24 /socket/get_available/datagram 1326s ok 25 /socket/get_available/stream 1326s # End of get_available tests 1326s # Start of credentials tests 1326s # Supported on this OS: GCredentials:linux-ucred:pid=0 1326s ok 26 /socket/credentials/tcp_client 1326s # Supported on this OS: GCredentials:linux-ucred:pid=0 1326s ok 27 /socket/credentials/tcp_server 1326s # Supported on this OS: GCredentials:linux-ucred:pid=18526,uid=1000,gid=1000 1326s ok 28 /socket/credentials/unix_socketpair 1326s # End of credentials tests 1326s # End of socket tests 1326s PASS: glib/socket.test 1326s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3840 1326s autopkgtest [16:39:22]: test socket: -----------------------] 1330s autopkgtest [16:39:26]: test socket: - - - - - - - - - - results - - - - - - - - - - 1330s socket PASS 1334s autopkgtest [16:39:30]: test testfilemonitor: preparing testbed 1345s Reading package lists... 1345s Building dependency tree... 1345s Reading state information... 1345s Starting pkgProblemResolver with broken count: 0 1346s Starting 2 pkgProblemResolver with broken count: 0 1346s Done 1346s The following NEW packages will be installed: 1346s autopkgtest-satdep 1346s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1346s Need to get 0 B/776 B of archives. 1346s After this operation, 0 B of additional disk space will be used. 1346s Get:1 /tmp/autopkgtest.NhOVdm/12-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1347s Selecting previously unselected package autopkgtest-satdep. 1347s (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 ... 61086 files and directories currently installed.) 1347s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1347s Unpacking autopkgtest-satdep (0) ... 1347s Setting up autopkgtest-satdep (0) ... 1357s (Reading database ... 61086 files and directories currently installed.) 1357s Removing autopkgtest-satdep (0) ... 1363s autopkgtest [16:39:59]: test testfilemonitor: [----------------------- 1365s Running test: glib/testfilemonitor.test 1365s TAP version 14 1365s # random seed: R02Sefbf53061e17e17ec6cd3a77ce8a9d6c 1365s 1..8 1365s # Start of monitor tests 1365s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1365s # Using temporary directory: /tmp/gio-test-testfilemonitor_SG0LX2 1365s # Using GFileMonitor GInotifyFileMonitor 1367s ok 1 /monitor/atomic-replace 1367s # slow test /monitor/atomic-replace executed in 2.00 secs 1367s # Using temporary directory: /tmp/gio-test-testfilemonitor_QDBMX2 1367s # Using GFileMonitor GInotifyFileMonitor 1370s ok 2 /monitor/file-changes 1370s # slow test /monitor/file-changes executed in 2.50 secs 1370s # Using temporary directory: /tmp/gio-test-testfilemonitor_MC79W2 1370s # Using GFileMonitor GInotifyFileMonitor 1371s Executing: glib/testfilemonitor.test 1373s ok 3 /monitor/dir-monitor 1373s # slow test /monitor/dir-monitor executed in 3.50 secs 1373s # Using temporary directory: /tmp/gio-test-testfilemonitor_9ZRLX2 1373s # Using GFileMonitor GInotifyFileMonitor 1376s Executing: glib/testfilemonitor.test 1381s Executing: glib/testfilemonitor.test 1386s Executing: glib/testfilemonitor.test 1391s Executing: glib/testfilemonitor.test 1396s Executing: glib/testfilemonitor.test 1398s ok 4 /monitor/dir-not-existent 1398s # slow test /monitor/dir-not-existent executed in 25.02 secs 1398s # Using temporary directory: /tmp/gio-test-testfilemonitor_XTLLX2 1398s # Using GFileMonitor 0 GInotifyFileMonitor 1398s # Using GFileMonitor 1 GInotifyFileMonitor 1400s ok 5 /monitor/cross-dir-moves 1400s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1400s # Using temporary directory: /tmp/gio-test-testfilemonitor_FBMLX2 1400s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1400s ok 6 /monitor/finalize-in-callback 1400s # Using temporary directory: /tmp/gio-test-testfilemonitor_WB1KX2 1400s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1400s ok 7 /monitor/root 1400s # Start of file tests 1400s # Using temporary directory: /tmp/gio-test-testfilemonitor_5H1KX2 1400s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1400s # Running with hard link tests 1400s # Using GFileMonitor GInotifyFileMonitor 1401s Executing: glib/testfilemonitor.test 1404s # Event 0 at expected index 7 skipped because it is marked as optional 1404s # Event 2 at expected index 11 skipped because it is marked as optional 1404s ok 8 /monitor/file/hard-links 1404s # slow test /monitor/file/hard-links executed in 3.51 secs 1404s # End of file tests 1404s # End of monitor tests 1404s PASS: glib/testfilemonitor.test 1404s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4096 1404s autopkgtest [16:40:40]: test testfilemonitor: -----------------------] 1408s autopkgtest [16:40:44]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1408s testfilemonitor PASS 1412s autopkgtest [16:40:48]: test thread-pool-slow: preparing testbed 1423s Reading package lists... 1424s Building dependency tree... 1424s Reading state information... 1424s Starting pkgProblemResolver with broken count: 0 1424s Starting 2 pkgProblemResolver with broken count: 0 1424s Done 1425s The following NEW packages will be installed: 1425s autopkgtest-satdep 1425s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1425s Need to get 0 B/776 B of archives. 1425s After this operation, 0 B of additional disk space will be used. 1425s Get:1 /tmp/autopkgtest.NhOVdm/13-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1426s Selecting previously unselected package autopkgtest-satdep. 1426s (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 ... 61086 files and directories currently installed.) 1426s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1426s Unpacking autopkgtest-satdep (0) ... 1426s Setting up autopkgtest-satdep (0) ... 1437s (Reading database ... 61086 files and directories currently installed.) 1437s Removing autopkgtest-satdep (0) ... 1443s autopkgtest [16:41:19]: test thread-pool-slow: [----------------------- 1445s Running test: glib/thread-pool-slow.test 1445s TAP version 14 1445s # random seed: R02S55ef27e1c168cd186923e010528251e4 1445s 1..7 1445s # Start of threadpool tests 1445s ok 1 /threadpool/functions 1446s ok 2 /threadpool/stop-unused 1446s # slow test /threadpool/stop-unused executed in 0.52 secs 1446s ok 3 /threadpool/pools 1446s # [unsorted] ===> pushed new thread with id:15, number of threads:1, unprocessed:1 1446s # [unsorted] ===> pushed new thread with id:70, number of threads:2, unprocessed:2 1446s # [unsorted] ===> pushed new thread with id:96, number of threads:3, unprocessed:3 1446s # [unsorted] ===> pushed new thread with id:35, number of threads:4, unprocessed:4 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:5, unprocessed:5 1446s # [unsorted] ===> pushed new thread with id:85, number of threads:6, unprocessed:6 1446s # [unsorted] ===> pushed new thread with id:36, number of threads:7, unprocessed:5 1446s # [unsorted] ===> pushed new thread with id:36, number of threads:8, unprocessed:5 1446s # [unsorted] ===> pushed new thread with id:70, number of threads:9, unprocessed:6 1446s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:1 1446s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:1 1446s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:2 1446s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:3 1446s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:4 1446s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:5 1446s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:6 1446s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:7 1446s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:8 1446s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:9 1446s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:10 1446s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:11 1446s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:12 1446s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:13 1446s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:14 1446s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:15 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:16 1446s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:17 1446s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:18 1446s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:19 1446s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:20 1446s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:21 1446s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:22 1446s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:23 1446s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:24 1446s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:25 1446s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:26 1446s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:27 1446s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:28 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:29 1446s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:30 1446s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:31 1446s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:32 1446s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:33 1446s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:34 1446s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:35 1446s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:36 1446s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:37 1446s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:38 1446s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:39 1446s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:40 1446s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:41 1446s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:42 1446s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 1446s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:44 1446s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:45 1446s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:46 1446s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:47 1446s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:48 1446s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:49 1446s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:50 1446s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:51 1446s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:52 1446s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:53 1446s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:54 1446s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:55 1446s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:56 1446s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:57 1446s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:58 1446s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:59 1446s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:60 1446s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:61 1446s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:62 1446s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:63 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:64 1446s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:65 1446s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:66 1446s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:67 1446s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:68 1446s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:69 1446s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:70 1446s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:71 1446s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:72 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:73 1446s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:74 1446s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:75 1446s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:76 1446s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:77 1446s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:78 1446s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:79 1446s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:80 1446s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:81 1446s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:82 1446s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:83 1446s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:84 1446s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:85 1446s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:86 1446s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:87 1446s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:88 1446s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:89 1446s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:90 1446s ok 4 /threadpool/no-sort 1446s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:1 1446s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:2 1446s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:3 1446s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:4 1446s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:5 1446s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:6 1446s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:7 1446s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:8 1446s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9 1446s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:10 1446s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:11 1446s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:12 1446s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:13 1446s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:14 1446s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:15 1446s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:16 1446s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:17 1446s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:18 1446s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:19 1446s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:20 1446s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:21 1446s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:22 1446s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:23 1446s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:24 1446s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:25 1446s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:26 1446s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:27 1446s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:28 1446s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:29 1446s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:30 1446s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:31 1446s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:32 1446s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:33 1446s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:34 1446s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:35 1446s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:36 1446s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:37 1446s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:38 1446s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:39 1446s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:40 1446s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:41 1446s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:42 1446s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:43 1446s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:44 1446s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:45 1446s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:46 1446s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:47 1446s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:48 1446s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:49 1446s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:50 1446s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:51 1446s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:52 1446s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:53 1446s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:54 1446s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:55 1446s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:56 1446s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:57 1446s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:58 1446s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:59 1446s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:60 1446s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:61 1446s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:62 1446s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:63 1446s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:64 1446s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:65 1446s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:66 1446s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:67 1446s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:68 1446s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:69 1446s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:70 1446s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:71 1446s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:72 1446s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:73 1446s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:74 1446s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:75 1446s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:76 1446s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:77 1446s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:78 1446s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:79 1446s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:80 1446s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:81 1446s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:82 1446s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:83 1446s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:84 1446s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:85 1446s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:86 1446s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:87 1446s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:88 1446s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:89 1446s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:90 1446s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:91 1446s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:92 1446s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:93 1446s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:94 1446s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:95 1446s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:96 1446s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:97 1446s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:98 1446s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:99 1446s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:100 1446s # Starting thread pool processing 1446s ok 5 /threadpool/sort 1446s ok 6 /threadpool/stop-unused-multiple 1446s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1446s # Pool idle thread count: 0, unprocessed jobs: 48 1447s # Pool idle thread count: 0, unprocessed jobs: 0 1447s # Pool idle thread count: 0, unprocessed jobs: 0 1447s # Pool idle thread count: 10, unprocessed jobs: 0 1447s # Pool idle thread count: 10, unprocessed jobs: 0 1448s # Pool idle thread count: 10, unprocessed jobs: 0 1448s # Pool idle thread count: 10, unprocessed jobs: 0 1448s # Pool idle thread count: 10, unprocessed jobs: 0 1448s # Pool idle thread count: 10, unprocessed jobs: 0 1449s # Pool idle thread count: 10, unprocessed jobs: 0 1449s # Pool idle thread count: 10, unprocessed jobs: 0 1449s # Pool idle thread count: 10, unprocessed jobs: 0 1449s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1451s Executing: glib/thread-pool-slow.test 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 2 1455s # Pool idle thread count: 9, unprocessed jobs: 1 1455s # Pool idle thread count: 8, unprocessed jobs: 0 1455s # Pool idle thread count: 8, unprocessed jobs: 0 1456s Executing: glib/thread-pool-slow.test 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 2, unprocessed jobs: 0 1457s # Pool idle thread count: 2, unprocessed jobs: 0 1458s # Pool idle thread count: 2, unprocessed jobs: 0 1458s # Pool idle thread count: 2, unprocessed jobs: 0 1458s # Pool idle thread count: 2, unprocessed jobs: 0 1458s # Pool idle thread count: 2, unprocessed jobs: 0 1459s # Pool idle thread count: 2, unprocessed jobs: 0 1459s # Pool idle thread count: 2, unprocessed jobs: 0 1459s # Pool idle thread count: 2, unprocessed jobs: 0 1459s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1461s Executing: glib/thread-pool-slow.test 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1466s Executing: glib/thread-pool-slow.test 1466s ok 7 /threadpool/idle-time 1466s # slow test /threadpool/idle-time executed in 19.53 secs 1466s # End of threadpool tests 1466s PASS: glib/thread-pool-slow.test 1466s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=2556 1466s autopkgtest [16:41:42]: test thread-pool-slow: -----------------------] 1470s autopkgtest [16:41:46]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1470s thread-pool-slow PASS 1474s autopkgtest [16:41:50]: test threadtests: preparing testbed 1485s Reading package lists... 1485s Building dependency tree... 1485s Reading state information... 1486s Starting pkgProblemResolver with broken count: 0 1486s Starting 2 pkgProblemResolver with broken count: 0 1486s Done 1487s The following NEW packages will be installed: 1487s autopkgtest-satdep 1487s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1487s Need to get 0 B/776 B of archives. 1487s After this operation, 0 B of additional disk space will be used. 1487s Get:1 /tmp/autopkgtest.NhOVdm/14-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1487s Selecting previously unselected package autopkgtest-satdep. 1487s (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 ... 61086 files and directories currently installed.) 1487s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1487s Unpacking autopkgtest-satdep (0) ... 1487s Setting up autopkgtest-satdep (0) ... 1497s (Reading database ... 61086 files and directories currently installed.) 1497s Removing autopkgtest-satdep (0) ... 1504s autopkgtest [16:42:20]: test threadtests: [----------------------- 1506s Running test: glib/threadtests.test 1506s TAP version 14 1506s # random seed: R02S0411fc019e635ab2084dde9699054c1a 1506s 1..5 1506s # Start of GObject tests 1506s ok 1 /GObject/threaded-object-init 1507s ok 2 /GObject/threaded-weak-ref 1507s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 1507s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1507s # /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 1511s Executing: glib/threadtests.test 1516s Executing: glib/threadtests.test 1521s Executing: glib/threadtests.test 1522s ok 3 /GObject/threaded-toggle-notify 1522s # slow test /GObject/threaded-toggle-notify executed in 15.19 secs 1522s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1522s # Start of threaded-weak-ref tests 1522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1522s # /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. 1522s ok 5 /GObject/threaded-weak-ref/on-finalization 1522s # End of threaded-weak-ref tests 1522s # End of GObject tests 1522s PASS: glib/threadtests.test 1522s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=59.2s; system=0.8s; maxrss=2560 1522s autopkgtest [16:42:38]: test threadtests: -----------------------] 1526s autopkgtest [16:42:42]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1526s threadtests PASS 1531s autopkgtest [16:42:47]: test timeout: preparing testbed 1541s Reading package lists... 1541s Building dependency tree... 1541s Reading state information... 1542s Starting pkgProblemResolver with broken count: 0 1542s Starting 2 pkgProblemResolver with broken count: 0 1542s Done 1543s The following NEW packages will be installed: 1543s autopkgtest-satdep 1543s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1543s Need to get 0 B/776 B of archives. 1543s After this operation, 0 B of additional disk space will be used. 1543s Get:1 /tmp/autopkgtest.NhOVdm/15-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 1543s Selecting previously unselected package autopkgtest-satdep. 1543s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 61086 files and directories currently installed.) 1543s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1543s Unpacking autopkgtest-satdep (0) ... 1543s Setting up autopkgtest-satdep (0) ... 1553s (Reading database ... 61086 files and directories currently installed.) 1553s Removing autopkgtest-satdep (0) ... 1560s autopkgtest [16:43:16]: test timeout: [----------------------- 1561s Running test: glib/timeout.test 1561s TAP version 14 1561s # random seed: R02Scb4bd5fc279007103717d232f803d3df 1561s 1..5 1561s # Start of timeout tests 1561s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1564s ok 1 /timeout/seconds 1564s # slow test /timeout/seconds executed in 2.10 secs 1566s ok 2 /timeout/seconds-once 1566s # slow test /timeout/seconds-once executed in 2.10 secs 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1567s Executing: glib/timeout.test 1568s ok 3 /timeout/weeks-overflow 1568s # slow test /timeout/weeks-overflow executed in 2.10 secs 1568s ok 4 /timeout/far-future-ready-time 1572s Executing: glib/timeout.test 1577s Executing: glib/timeout.test 1578s ok 5 /timeout/rounding 1578s # slow test /timeout/rounding executed in 9.99 secs 1578s # End of timeout tests 1578s PASS: glib/timeout.test 1578s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 1578s autopkgtest [16:43:34]: test timeout: -----------------------] 1582s autopkgtest [16:43:38]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1582s timeout PASS 1586s autopkgtest [16:43:42]: test timer: preparing testbed 1596s Reading package lists... 1596s Building dependency tree... 1596s Reading state information... 1597s Starting pkgProblemResolver with broken count: 0 1597s Starting 2 pkgProblemResolver with broken count: 0 1597s Done 1598s The following NEW packages will be installed: 1598s autopkgtest-satdep 1598s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1598s Need to get 0 B/772 B of archives. 1598s After this operation, 0 B of additional disk space will be used. 1598s Get:1 /tmp/autopkgtest.NhOVdm/16-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 1598s Selecting previously unselected package autopkgtest-satdep. 1599s (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 ... 61086 files and directories currently installed.) 1599s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1599s Unpacking autopkgtest-satdep (0) ... 1599s Setting up autopkgtest-satdep (0) ... 1608s (Reading database ... 61086 files and directories currently installed.) 1608s Removing autopkgtest-satdep (0) ... 1614s autopkgtest [16:44:10]: test timer: [----------------------- 1617s Running test: glib/timer.test 1617s TAP version 14 1617s # random seed: R02S90dff0706af4da05b503fb2c2fdf0576 1617s 1..10 1617s # Start of timer tests 1617s ok 1 /timer/basic 1617s ok 2 /timer/stop 1617s ok 3 /timer/continue 1617s ok 4 /timer/reset 1617s ok 5 /timer/is_active 1617s # End of timer tests 1617s # Start of timeval tests 1617s ok 6 /timeval/add 1617s ok 7 /timeval/from-iso8601 1617s ok 8 /timeval/to-iso8601 1617s # Start of to-iso8601 tests 1617s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1617s # End of to-iso8601 tests 1617s # End of timeval tests 1617s # Start of usleep tests 1617s ok 10 /usleep/with-zero-wait 1617s # End of usleep tests 1617s PASS: glib/timer.test 1617s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 1617s autopkgtest [16:44:13]: test timer: -----------------------] 1621s autopkgtest [16:44:17]: test timer: - - - - - - - - - - results - - - - - - - - - - 1621s timer PASS 1627s autopkgtest [16:44:23]: test 1065022-futureproofing: preparing testbed 1684s autopkgtest [16:45:20]: testbed dpkg architecture: armhf 1686s autopkgtest [16:45:22]: testbed apt version: 2.9.8 1686s autopkgtest [16:45:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1694s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1694s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 1694s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 1694s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 1694s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 1694s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 1694s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [638 kB] 1694s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 1695s Fetched 1911 kB in 1s (2076 kB/s) 1695s Reading package lists... 1711s tee: /proc/self/fd/2: Permission denied 1733s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 1733s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1733s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1733s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1734s Reading package lists... 1734s Reading package lists... 1735s Building dependency tree... 1735s Reading state information... 1735s Calculating upgrade... 1736s The following NEW packages will be installed: 1736s python3.13-gdbm 1736s The following packages will be upgraded: 1736s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 1736s libutempter0 python3 python3-gdbm python3-minimal 1736s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1736s Need to get 1131 kB of archives. 1736s After this operation, 95.2 kB of additional disk space will be used. 1736s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 1736s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 1736s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 1736s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 1736s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 1736s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 1736s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 1736s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 1736s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 1737s Fetched 1131 kB in 1s (2021 kB/s) 1737s (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 ... 59559 files and directories currently installed.) 1737s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 1737s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 1737s Setting up python3-minimal (3.12.7-1) ... 1737s (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 ... 59559 files and directories currently installed.) 1737s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 1737s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 1737s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 1737s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 1737s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 1737s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 1737s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 1737s Selecting previously unselected package python3.13-gdbm. 1737s (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 ... 59559 files and directories currently installed.) 1737s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 1737s Unpacking python3.13-gdbm (3.13.0-2) ... 1737s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 1737s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 1737s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 1737s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 1738s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 1738s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 1738s Preparing to unpack .../libutempter0_1.2.1-4_armhf.deb ... 1738s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 1738s Setting up libutempter0:armhf (1.2.1-4) ... 1738s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 1738s Setting up python3.13-gdbm (3.13.0-2) ... 1738s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 1738s Setting up python3 (3.12.7-1) ... 1738s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 1738s Setting up python3-gdbm:armhf (3.12.7-1) ... 1738s Processing triggers for man-db (2.12.1-3) ... 1739s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1739s Reading package lists... 1739s Building dependency tree... 1739s Reading state information... 1740s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1742s autopkgtest [16:46:18]: rebooting testbed after setup commands that affected boot 1853s Reading package lists... 1853s Building dependency tree... 1853s Reading state information... 1853s Starting pkgProblemResolver with broken count: 0 1854s Starting 2 pkgProblemResolver with broken count: 0 1854s Done 1854s The following additional packages will be installed: 1854s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1854s libdconf1 1854s Suggested packages: 1854s fakeroot 1854s The following NEW packages will be installed: 1854s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 1854s gsettings-desktop-schemas libdconf1 1855s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1855s Need to get 138 kB/138 kB of archives. 1855s After this operation, 569 kB of additional disk space will be used. 1855s Get:1 /tmp/autopkgtest.NhOVdm/17-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 1855s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libdconf1 armhf 0.40.0-4build2 [38.4 kB] 1855s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-service armhf 0.40.0-4build2 [27.4 kB] 1855s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-gsettings-backend armhf 0.40.0-4build2 [23.6 kB] 1855s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-repack all 1.54 [11.2 kB] 1855s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1855s Fetched 138 kB in 0s (329 kB/s) 1855s Selecting previously unselected package libdconf1:armhf. 1855s (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 ... 59566 files and directories currently installed.) 1855s Preparing to unpack .../0-libdconf1_0.40.0-4build2_armhf.deb ... 1855s Unpacking libdconf1:armhf (0.40.0-4build2) ... 1855s Selecting previously unselected package dconf-service. 1855s Preparing to unpack .../1-dconf-service_0.40.0-4build2_armhf.deb ... 1855s Unpacking dconf-service (0.40.0-4build2) ... 1856s Selecting previously unselected package dconf-gsettings-backend:armhf. 1856s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4build2_armhf.deb ... 1856s Unpacking dconf-gsettings-backend:armhf (0.40.0-4build2) ... 1856s Selecting previously unselected package dpkg-repack. 1856s Preparing to unpack .../3-dpkg-repack_1.54_all.deb ... 1856s Unpacking dpkg-repack (1.54) ... 1856s Selecting previously unselected package gsettings-desktop-schemas. 1856s Preparing to unpack .../4-gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1856s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1856s Selecting previously unselected package autopkgtest-satdep. 1856s Preparing to unpack .../5-17-autopkgtest-satdep.deb ... 1856s Unpacking autopkgtest-satdep (0) ... 1856s Setting up dpkg-repack (1.54) ... 1856s Setting up libdconf1:armhf (0.40.0-4build2) ... 1856s Setting up dconf-service (0.40.0-4build2) ... 1856s Setting up dconf-gsettings-backend:armhf (0.40.0-4build2) ... 1856s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1856s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1856s Processing triggers for man-db (2.12.1-3) ... 1856s Processing triggers for libglib2.0-0t64:armhf (2.82.1-0ubuntu1) ... 1856s Setting up autopkgtest-satdep (0) ... 1868s (Reading database ... 59634 files and directories currently installed.) 1868s Removing autopkgtest-satdep (0) ... 1882s autopkgtest [16:48:38]: test 1065022-futureproofing: [----------------------- 1884s + export DEBIAN_FRONTEND=noninteractive 1884s + n=0 1884s + failed=0 1884s + binary_package=libglib2.0-0t64 1884s + future_binary_package=libglib2.0-0xyz 1884s + pwd 1884s + srcdir=/tmp/autopkgtest.NhOVdm/build.S62/src 1884s + mktemp -d 1884s + tmpdir=/tmp/tmp.gw10l5O6y7 1884s + cd /tmp/tmp.gw10l5O6y7 1884s + [ -e /tmp/autopkgtest.NhOVdm/build.S62/src/debian/tests/manual/local-1065022.sources ] 1884s + dpkg-query -W dpkg-repack 1884s + dpkg-repack --generate libglib2.0-0t64 1884s dpkg-repack 1.54 1884s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1884s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.78UrvX for libglib2.0-0t64 1884s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.78UrvX ." 1884s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.78UrvX/DEBIAN/control 1884s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.78UrvX/DEBIAN/control 1884s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.78UrvX/DEBIAN/control 1884s + 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.78UrvX/DEBIAN/control 1884s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1884s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.78UrvX libglib2.0-0xyz.deb 1885s + apt-get -y install ./libglib2.0-0xyz.deb 1885s Reading package lists... 1886s Building dependency tree... 1886s Reading state information... 1886s The following packages were automatically installed and are no longer required: 1886s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1886s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 1886s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1886s python3-apport python3-certifi python3-chardet python3-configobj 1886s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1886s python3-problem-report python3-pygments python3-requests python3-rich 1886s python3-systemd python3-urllib3 1886s Use 'apt autoremove' to remove them. 1886s The following additional packages will be installed: 1886s xdg-user-dirs 1886s Suggested packages: 1886s low-memory-monitor 1886s Recommended packages: 1886s shared-mime-info 1886s The following packages will be REMOVED: 1886s apport apport-core-dump-handler bolt cloud-init dconf-gsettings-backend 1886s dconf-service fwupd gir1.2-girepository-2.0 gir1.2-glib-2.0 1886s gsettings-desktop-schemas libblockdev-crypto3 libblockdev-fs3 1886s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 1886s libblockdev-swap3 libblockdev-utils3 libblockdev3 libdconf1 libfwupd2 1886s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libgusb2 libjcat1 1886s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1886s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 1886s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 1886s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 1886s shared-mime-info ubuntu-minimal udisks2 1886s The following NEW packages will be installed: 1886s libglib2.0-0xyz xdg-user-dirs 1887s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1887s Need to get 17.3 kB/1457 kB of archives. 1887s After this operation, 25.6 MB disk space will be freed. 1887s Get:1 /tmp/tmp.gw10l5O6y7/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.82.1-0ubuntu1 [1440 kB] 1887s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-user-dirs armhf 0.18-1build1 [17.3 kB] 1887s Fetched 17.3 kB in 0s (67.9 kB/s) 1887s (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 ... 59634 files and directories currently installed.) 1887s Removing bolt (0.9.8-1) ... 1887s Removing cloud-init (24.4~3+really24.3.1-0ubuntu4) ... 1888s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1888s Removing dconf-gsettings-backend:armhf (0.40.0-4build2) ... 1888s Removing dconf-service (0.40.0-4build2) ... 1888s Removing fwupd (1.9.26-2) ... 1888s Removing networkd-dispatcher (2.2.4-1.1) ... 1889s Removing udisks2 (2.10.1-11ubuntu1) ... 1889s Removing libblockdev-crypto3:armhf (3.2.1-1) ... 1889s Removing libblockdev-fs3:armhf (3.2.1-1) ... 1889s Removing libblockdev-loop3:armhf (3.2.1-1) ... 1889s Removing libblockdev-mdraid3:armhf (3.2.1-1) ... 1889s Removing libblockdev-nvme3:armhf (3.2.1-1) ... 1889s Removing libblockdev-part3:armhf (3.2.1-1) ... 1889s Removing libblockdev-swap3:armhf (3.2.1-1) ... 1889s Removing libblockdev3:armhf (3.2.1-1) ... 1889s Removing libblockdev-utils3:armhf (3.2.1-1) ... 1889s Removing libdconf1:armhf (0.40.0-4build2) ... 1889s Removing libfwupd2:armhf (1.9.26-2) ... 1889s Removing shared-mime-info (2.4-5) ... 1889s Removing python3-dbus (1.3.2-5build3) ... 1890s Removing libgudev-1.0-0:armhf (1:238-5ubuntu1) ... 1890s Removing libgusb2:armhf (0.4.9-1) ... 1890s Removing libjcat1:armhf (0.2.0-2build3) ... 1890s Removing libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 1890s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 1890s Removing libqmi-glib5:armhf (1.35.2-0ubuntu2) ... 1890s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1890s Removing libmbim-glib4:armhf (1.31.2-0ubuntu4) ... 1890s Removing libmm-glib0:armhf (1.23.4-0ubuntu2) ... 1890s Removing ubuntu-minimal (1.543) ... 1890s Removing netplan.io (1.1.1-1) ... 1890s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1890s Removing python3-netplan (1.1.1-1) ... 1890s Removing netplan-generator (1.1.1-1) ... 1890s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1890s Removing libnetplan1:armhf (1.1.1-1) ... 1890s Removing libpolkit-agent-1-0:armhf (124-2ubuntu1) ... 1890s Removing libpolkit-gobject-1-0:armhf (124-2ubuntu1) ... 1890s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu4) ... 1890s Removing libudisks2-0:armhf (2.10.1-11ubuntu1) ... 1890s Removing libvolume-key1:armhf (0.3.12-8) ... 1890s Removing libxmlb2:armhf (0.3.21-1) ... 1890s Removing apport (2.30.0-0ubuntu5) ... 1891s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 1891s Removing python3-gi (3.50.0-3) ... 1891s Removing gir1.2-girepository-2.0:armhf (1.80.1-4) ... 1891s Removing gir1.2-glib-2.0:armhf (2.82.1-0ubuntu1) ... 1891s Removing libgirepository-1.0-1:armhf (1.80.1-4) ... 1891s Removing libglib2.0-0t64:armhf (2.82.1-0ubuntu1) ... 1891s Selecting previously unselected package libglib2.0-0xyz:armhf. 1891s (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 ... 58578 files and directories currently installed.) 1891s Preparing to unpack .../libglib2.0-0xyz.deb ... 1891s Unpacking libglib2.0-0xyz:armhf (2.82.1-0ubuntu1) ... 1891s Selecting previously unselected package xdg-user-dirs. 1891s Preparing to unpack .../xdg-user-dirs_0.18-1build1_armhf.deb ... 1891s Unpacking xdg-user-dirs (0.18-1build1) ... 1891s Setting up xdg-user-dirs (0.18-1build1) ... 1891s Setting up libglib2.0-0xyz:armhf (2.82.1-0ubuntu1) ... 1891s No schema files found: removed existing output file. 1892s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1892s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1892s Processing triggers for man-db (2.12.1-3) ... 1893s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1893s + n=1 1893s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1893s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1893s + failed=1 1893s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1893s + n=2 1893s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1893s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1893s + failed=1 1893s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1893s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1893s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1893s + n=3 1893s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1893s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1893s + failed=1 1893s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1893s + n=4 1893s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1893s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1893s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1893s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1893s + failed=1 1893s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1893s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1893s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1893s + n=5 1893s + test -e /usr/lib/*/gio/modules/giomodule.cache 1893s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1893s + failed=1 1893s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1893s + n=6 1893s + test -s /usr/lib/*/gio/modules/giomodule.cache 1893s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1893s + failed=1 1893s + apt-get -y purge libglib2.0-0t64 1893s Reading package lists... 1893s Building dependency tree... 1893s Reading state information... 1894s The following packages were automatically installed and are no longer required: 1894s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1894s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 1894s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1894s python3-apport python3-certifi python3-chardet python3-configobj 1894s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1894s python3-problem-report python3-pygments python3-requests python3-rich 1894s python3-systemd python3-urllib3 1894s Use 'apt autoremove' to remove them. 1894s The following packages will be REMOVED: 1894s libglib2.0-0t64* 1894s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1894s After this operation, 0 B of additional disk space will be used. 1894s (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 ... 58613 files and directories currently installed.) 1894s Purging configuration files for libglib2.0-0t64:armhf (2.82.1-0ubuntu1) ... 1894s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1894s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1894s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1894s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1894s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1894s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1894s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1894s + n=7 1894s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1894s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1894s + failed=1 1894s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1894s + n=8 1894s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1894s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1894s + failed=1 1894s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1894s + n=9 1894s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1894s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1894s + failed=1 1894s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1894s + n=10 1894s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1894s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1894s + failed=1 1894s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1894s + n=11 1894s + test -e /usr/lib/*/gio/modules/giomodule.cache 1894s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1894s + failed=1 1894s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1894s + n=12 1894s + test -s /usr/lib/*/gio/modules/giomodule.cache 1894s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1894s + failed=1 1894s + apt-get -y purge libglib2.0-0xyz 1894s Reading package lists... 1895s Building dependency tree... 1895s Reading state information... 1895s The following packages were automatically installed and are no longer required: 1895s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 1895s libcurl3t64-gnutls libflashrom1 libftdi1-2 libglib2.0-data libgpgme11t64 1895s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1895s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1895s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1895s python3-openssl python3-problem-report python3-pygments python3-requests 1895s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1895s Use 'apt autoremove' to remove them. 1895s The following packages will be REMOVED: 1895s libglib2.0-0xyz* 1896s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1896s After this operation, 3127 kB disk space will be freed. 1896s (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 ... 58613 files and directories currently installed.) 1896s Removing libglib2.0-0xyz:armhf (2.82.1-0ubuntu1) ... 1896s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1896s (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 ... 58588 files and directories currently installed.) 1896s Purging configuration files for libglib2.0-0xyz:armhf (2.82.1-0ubuntu1) ... 1896s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1896s + n=13 1896s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1896s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1896s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1896s + n=14 1896s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1896s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1896s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1896s + n=15 1896s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1896s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1896s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1896s + n=16 1896s + test -e /usr/lib/*/gio/modules/giomodule.cache 1896s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1896s + echo 1..16 1896s + exit 1 1896s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1896s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1896s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1896s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1896s 1..16 1897s autopkgtest [16:48:53]: test 1065022-futureproofing: -----------------------] 1901s autopkgtest [16:48:57]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1901s 1065022-futureproofing FLAKY non-zero exit status 1 1905s autopkgtest [16:49:01]: @@@@@@@@@@@@@@@@@@@@ summary 1905s build PASS (superficial) 1905s build-static PASS (superficial) 1905s installed-tests PASS 1905s closure-refcount PASS 1905s debugcontroller PASS 1905s gdbus-server-auth PASS 1905s gdbus-threading PASS 1905s gmenumodel PASS 1905s mainloop PASS 1905s memory-monitor-dbus PASS 1905s socket PASS 1905s testfilemonitor PASS 1905s thread-pool-slow PASS 1905s threadtests PASS 1905s timeout PASS 1905s timer PASS 1905s 1065022-futureproofing FLAKY non-zero exit status 1